From 6ae254e743716617a60dd4236323f50dff523b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 1 Feb 2018 23:43:05 +0100 Subject: Move key.sec to cwd --- build_repo.sh | 2 +- key.sec | 2 ++ myrepo/files/key.sec | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 key.sec delete mode 100644 myrepo/files/key.sec diff --git a/build_repo.sh b/build_repo.sh index 0a1217a..45c83dc 100755 --- a/build_repo.sh +++ b/build_repo.sh @@ -68,7 +68,7 @@ deploy() { 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/files/key.sec + SEC=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/$1/" diff --git a/key.sec b/key.sec new file mode 100644 index 0000000..5731869 --- /dev/null +++ b/key.sec @@ -0,0 +1,2 @@ +untrusted comment: public key cfb977a0d53c5424 +RWRCSwAAAAC/rGfdjaQn9ZWPHvtqQrzm9dkd/bHNF4XPuXeg1TxUJCiZuBFQLxqoolLnufYHIHHGvgFbJpjnT1v8X2W831l+LoQ6ZrB2ibH7Vy49oHHmDoHUDaerRMjoZ/yZtGhTbDo= diff --git a/myrepo/files/key.sec b/myrepo/files/key.sec deleted file mode 100644 index 5731869..0000000 --- a/myrepo/files/key.sec +++ /dev/null @@ -1,2 +0,0 @@ -untrusted comment: public key cfb977a0d53c5424 -RWRCSwAAAAC/rGfdjaQn9ZWPHvtqQrzm9dkd/bHNF4XPuXeg1TxUJCiZuBFQLxqoolLnufYHIHHGvgFbJpjnT1v8X2W831l+LoQ6ZrB2ibH7Vy49oHHmDoHUDaerRMjoZ/yZtGhTbDo= -- cgit v1.2.3