diff --git a/scripts/build/prepare_signing_key.sh b/scripts/build/prepare_signing_key.sh index 5b16620f753..a98cc7f1d33 100755 --- a/scripts/build/prepare_signing_key.sh +++ b/scripts/build/prepare_signing_key.sh @@ -3,4 +3,3 @@ set -e git clone git@github.com:torkelo/private.git ~/private-repo -cp ~/private-repo/signing/private.key /private.key diff --git a/scripts/build/sign_packages.sh b/scripts/build/sign_packages.sh index 86eca561092..a3272e197f6 100755 --- a/scripts/build/sign_packages.sh +++ b/scripts/build/sign_packages.sh @@ -14,7 +14,7 @@ if [ -z "$GPG_KEY_PASSWORD" ]; then exit 1 fi -gpg --allow-secret-key-import --import /private.key +gpg --allow-secret-key-import --import ~/private-repo/signing/private.key cp ./scripts/build/rpmmacros ~/.rpmmacros diff --git a/scripts/build/update_repo/load-signing-key.sh b/scripts/build/update_repo/load-signing-key.sh index 2ac456429da..a925354804a 100755 --- a/scripts/build/update_repo/load-signing-key.sh +++ b/scripts/build/update_repo/load-signing-key.sh @@ -2,5 +2,5 @@ set -e -gpg --batch --allow-secret-key-import --import /private.key -pkill gpg-agent \ No newline at end of file +gpg --batch --allow-secret-key-import --import ~/private-repo/signing/private.key +pkill gpg-agent