summaryrefslogtreecommitdiff
path: root/templates/turris.run
diff options
context:
space:
mode:
Diffstat (limited to 'templates/turris.run')
-rwxr-xr-xtemplates/turris.run4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/turris.run b/templates/turris.run
index 81e03f1..2bbf4c4 100755
--- a/templates/turris.run
+++ b/templates/turris.run
@@ -63,9 +63,9 @@ echo_stage "Generate index and sign"
$make package/index BUILD_KEY=~/openwrt-repo.sec
echo_stage "Deploy"
-sftp -r -d - upload <<EOF
+sftp -d - upload <<EOF
!rm -rf "deploy-turris-$ANIMAL-$BOARD"
- put "bin/packages/$ARCH/personal" "deploy-turris-$ANIMAL-$BOARD"
+ put -R "bin/packages/$ARCH/personal" "deploy-turris-$ANIMAL-$BOARD"
!mkdir -p "/var/www/repo/turris/$ANIMAL"
!rm -rf "/var/www/repo/turris/$ANIMAL/$BOARD"
mv "deploy-turris-$ANIMAL-$BOARD" "/var/www/repo/turris/$ANIMAL/$BOARD"