diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-10-25 12:40:08 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-10-25 12:40:08 +0200 |
commit | ca31f34dba9a9ec72769c9513f449c975a065fa3 (patch) | |
tree | 7b7bf72dcfe54b1e41e390c84318289c7329aede /build_repo.sh | |
parent | 05378c44b6a49be9ef4432b7e9dd3ccc7aa5dca2 (diff) | |
download | turris-myrepo-ca31f34dba9a9ec72769c9513f449c975a065fa3.tar.gz turris-myrepo-ca31f34dba9a9ec72769c9513f449c975a065fa3.tar.bz2 turris-myrepo-ca31f34dba9a9ec72769c9513f449c975a065fa3.zip |
More fixes for new server and updater version
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" |