From e375a0e9347e29181adb2e5e5f021ff97d345426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 29 Jul 2020 12:56:57 +0200 Subject: turris: fix use of scp to sftp --- templates/turris.run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/turris.run b/templates/turris.run index dfeaf06..01ff8e3 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" -scp -r "bin/packages/$ARCH/personal" upload:"deploy-turris-$ANIMAL-$BOARD" +sftp -r "bin/packages/$ARCH/personal" upload:"deploy-turris-$ANIMAL-$BOARD" ssh upload /bin/sh -e "$ANIMAL" "$BOARD" <<"EOF" mkdir -p "/var/www/repo/turris/$1" rm -rf "/var/www/repo/turris/$1/$2" -- cgit v1.2.3