summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtemplates/turris.run2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/turris.run b/templates/turris.run
index dfeaf06..01ff8e3 100755
--- a/templates/turris.run
+++ b/templates/turris.run
@@ -69,7 +69,7 @@ $make package/index BUILD_KEY=~/openwrt-repo.sec
echo_stage "Deploy"
ssh upload rm -rf "deploy-turris-$ANIMAL-$BOARD"
-scp -r "bin/packages/$ARCH/personal" upload:"deploy-turris-$ANIMAL-$BOARD"
+sftp -r "bin/packages/$ARCH/personal" upload:"deploy-turris-$ANIMAL-$BOARD"
ssh upload /bin/sh -e "$ANIMAL" "$BOARD" <<"EOF"
mkdir -p "/var/www/repo/turris/$1"
rm -rf "/var/www/repo/turris/$1/$2"