summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2020-07-27 09:27:10 +0200
committerKarel Kočí <karel.koci@nic.cz>2020-07-27 09:27:10 +0200
commitff60b9aaf34c4509b680680c8bf63b891de0402b (patch)
tree460872341b020d8d864153e8cc09dce144279c8c
parent6a4f4062e506ec90b27907a2fc6c855b42ec0989 (diff)
downloadlaminar-cnf-ff60b9aaf34c4509b680680c8bf63b891de0402b.tar.gz
laminar-cnf-ff60b9aaf34c4509b680680c8bf63b891de0402b.tar.bz2
laminar-cnf-ff60b9aaf34c4509b680680c8bf63b891de0402b.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 2bbf4c4..0471c0a 100755
--- a/templates/turris.run
+++ b/templates/turris.run
@@ -63,7 +63,7 @@ echo_stage "Generate index and sign"
$make package/index BUILD_KEY=~/openwrt-repo.sec
echo_stage "Deploy"
-sftp -d - upload <<EOF
+sftp -b - upload <<EOF
!rm -rf "deploy-turris-$ANIMAL-$BOARD"
put -R "bin/packages/$ARCH/personal" "deploy-turris-$ANIMAL-$BOARD"
!mkdir -p "/var/www/repo/turris/$ANIMAL"