diff options
Diffstat (limited to 'build_repo.sh')
-rwxr-xr-x | build_repo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_repo.sh b/build_repo.sh index def77cf..9ee814e 100755 --- a/build_repo.sh +++ b/build_repo.sh @@ -64,13 +64,13 @@ if [ "$BOARD" = "turris" ] || [ "$BOARD" = "all" ]; then fi deploy() { - local TARGET="cynerd.cz:/var/www/myrepo/$1" + local TARGET="cynerd.cz:/var/www/myrepo" ssh cynerd.cz -- mkdir -p "/var/www/myrepo/$1" # Make sure that directory exists echo -e "\e[1;34mSign and deploy $1\e[0m" SEC=myrepo-cert/files/key.sec pushd .$1-sdk staging_dir/host/bin/usign -S -s ../$SEC -m bin/$2/packages/base/Packages - scp bin/$2/packages/base/* "$TARGET/" + scp bin/$2/packages/base/* "$TARGET/$1/" popd .$1-sdk/staging_dir/host/bin/usign -S -s $SEC -m $1.lua scp $1.lua "$TARGET/$1.lua" |