summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-07-29 14:55:41 +0200
committerKarel Kočí <cynerd@email.cz>2020-07-29 14:55:41 +0200
commit9c623e76a2c72e9c0e00bb3c1f3ec68d14c18c8e (patch)
tree8cc09003e909fbfe598a4a82a6b346e5ff77210c
parenta5ea8f08f0e89ed6166e662f1f457b842953a27d (diff)
downloadlaminar-cnf-9c623e76a2c72e9c0e00bb3c1f3ec68d14c18c8e.tar.gz
laminar-cnf-9c623e76a2c72e9c0e00bb3c1f3ec68d14c18c8e.tar.bz2
laminar-cnf-9c623e76a2c72e9c0e00bb3c1f3ec68d14c18c8e.zip
turris: fix invalid sftp argument
-rwxr-xr-xtemplates/turris.run2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/turris.run b/templates/turris.run
index 19295a5..908de13 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"
-sftp -d - upload <<EOF
+sftp -b - upload <<EOF
put -R "./bin/packages/$ARCH/personal" "deploy-turris-$ANIMAL-$BOARD"
EOF
ssh upload /bin/sh -e "$ANIMAL" "$BOARD" <<"EOF"