diff options
author | Karel Kočí <cynerd@email.cz> | 2020-07-27 07:50:46 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-07-27 07:50:46 +0200 |
commit | b5308f5d1b2213c04fd79286133227270587a6e2 (patch) | |
tree | cef40b15b6fe29945dd48fa38e8ba780b7726254 /templates | |
parent | fde2d6a978c9fdfbb0f4d2cbcffe583e6351fe04 (diff) | |
download | laminar-cnf-b5308f5d1b2213c04fd79286133227270587a6e2.tar.gz laminar-cnf-b5308f5d1b2213c04fd79286133227270587a6e2.tar.bz2 laminar-cnf-b5308f5d1b2213c04fd79286133227270587a6e2.zip |
sftp use recursive copy
Diffstat (limited to 'templates')
-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 7ebec51..18b2c55 100755 --- a/templates/alpine.run +++ b/templates/alpine.run @@ -68,7 +68,7 @@ uroot cp "$FILES/alpine/abuild.conf" "$ROOT/etc/abuild.conf" uchroot build 'buildrepo --purge --keep-going personal' echo_stage "Deploy" -sftp -b - upload <<EOF +sftp -r -b - upload <<EOF !rm -rf "deploy-alpine-$ARCH" put "$WORKSPACE/packages/personal/$ARCH" "deploy-alpine-$ARCH" !rm -rf "/var/www/repo/alpine/$ARCH" diff --git a/templates/turris.run b/templates/turris.run index 9392eee..81e03f1 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 -r -d - upload <<EOF !rm -rf "deploy-turris-$ANIMAL-$BOARD" put "bin/packages/$ARCH/personal" "deploy-turris-$ANIMAL-$BOARD" !mkdir -p "/var/www/repo/turris/$ANIMAL" |