summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-02-09 20:30:16 +0100
committerKarel Kočí <cynerd@email.cz>2019-02-09 20:30:16 +0100
commit27ccfc52834c25533224a6e905da619ec9f92b41 (patch)
tree2eefa5ac6f85ec1520974fd057a422aeef5f5700
parent4ddd4057e2ab91e30f61cfa757605bfd0cca4d89 (diff)
downloadlaminar-cnf-27ccfc52834c25533224a6e905da619ec9f92b41.tar.gz
laminar-cnf-27ccfc52834c25533224a6e905da619ec9f92b41.tar.bz2
laminar-cnf-27ccfc52834c25533224a6e905da619ec9f92b41.zip
turris: fix deployment
-rwxr-xr-xtemplates/turris.run2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/turris.run b/templates/turris.run
index 5f4aeb3..6686131 100755
--- a/templates/turris.run
+++ b/templates/turris.run
@@ -54,7 +54,7 @@ $make package/index BUILD_KEY=~/openwrt-repo.key
echo_stage "Deploy"
ssh upload rm -rf "deploy-turris-$ANIMAL-$BOARD"
-scp -r "bin/packages/$ARCH/personal" upload:deploy-turris-$BOARD
+scp -r "bin/packages/$ARCH/personal" upload:deploy-turris-$ANIMAL-$BOARD
ssh upload /bin/sh -e <<EOF
mkdir -p "/var/www/repo/turris/$ANIMAL"
rm -rf "/var/www/repo/turris/$ANIMAL/$BOARD"