diff options
Diffstat (limited to 'templates/turris.run')
-rwxr-xr-x | templates/turris.run | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/turris.run b/templates/turris.run index 01ff8e3..19295a5 100755 --- a/templates/turris.run +++ b/templates/turris.run @@ -69,7 +69,9 @@ $make package/index BUILD_KEY=~/openwrt-repo.sec echo_stage "Deploy" ssh upload rm -rf "deploy-turris-$ANIMAL-$BOARD" -sftp -r "bin/packages/$ARCH/personal" upload:"deploy-turris-$ANIMAL-$BOARD" +sftp -d - upload <<EOF + put -R "./bin/packages/$ARCH/personal" "deploy-turris-$ANIMAL-$BOARD" +EOF ssh upload /bin/sh -e "$ANIMAL" "$BOARD" <<"EOF" mkdir -p "/var/www/repo/turris/$1" rm -rf "/var/www/repo/turris/$1/$2" |