diff options
-rwxr-xr-x | templates/alpine.run | 2 | ||||
-rwxr-xr-x | templates/turris.run | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/alpine.run b/templates/alpine.run index 2132576..2779607 100755 --- a/templates/alpine.run +++ b/templates/alpine.run @@ -72,7 +72,7 @@ ssh upload rm -rf "deploy-alpine" sftp -b - upload <<EOF put -R "$WORKSPACE/packages/personal/$ARCH" "deploy-alpine-$ARCH" EOF -ssh upload /bin/sh -e "$ARCH" <<"EOF" +ssh upload /bin/sh -se "$ARCH" <<"EOF" rm -rf "/var/www/repo/alpine/$1" mv "deploy-alpine-$1" "/var/www/repo/alpine/$1" EOF 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" |