diff options
author | Karel Kočí <cynerd@email.cz> | 2020-07-29 18:04:59 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-07-29 18:04:59 +0200 |
commit | c1cf66353d7e9ad014a10c4c69e5e279732c5d60 (patch) | |
tree | 0b35f883cf217bc63a50636b9f6f0fae73cd73bc /templates/turris.run | |
parent | 55dde5308611c987f7573da4d7c9310588ac1a7a (diff) | |
download | laminar-cnf-c1cf66353d7e9ad014a10c4c69e5e279732c5d60.tar.gz laminar-cnf-c1cf66353d7e9ad014a10c4c69e5e279732c5d60.tar.bz2 laminar-cnf-c1cf66353d7e9ad014a10c4c69e5e279732c5d60.zip |
Fix invalid usage of shell spawning
Diffstat (limited to 'templates/turris.run')
-rwxr-xr-x | templates/turris.run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/turris.run b/templates/turris.run index e8dfb22..9135f01 100755 --- a/templates/turris.run +++ b/templates/turris.run @@ -72,7 +72,7 @@ ssh upload rm -rf "deploy-turris-$ANIMAL-$BOARD" sftp -b - upload <<EOF put -R "./bin/packages/$ARCH/personal" "deploy-turris-$ANIMAL-$BOARD" EOF -ssh upload /bin/sh -e "$ANIMAL" "$BOARD" <<"EOF" +ssh upload /bin/sh -se "$ANIMAL" "$BOARD" <<"EOF" mkdir -p "/var/www/repo/turris/$1" rm -rf "/var/www/repo/turris/$1/$2" mv "deploy-turris-$1-$2" "/var/www/repo/turris/$1/$2" |