aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2018-11-12 14:15:15 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2018-11-12 14:15:15 -0800
commit2d8dcda77b43ac8c2fda3086b411ce7b25a57330 (patch)
treeb5008343eff070425c4702cb18a16a554057a3ba
parentcreate-dev-keyrings: export improvements (diff)
downloadqa-scripts-2d8dcda77b43ac8c2fda3086b411ce7b25a57330.tar.gz
qa-scripts-2d8dcda77b43ac8c2fda3086b411ce7b25a57330.tar.bz2
qa-scripts-2d8dcda77b43ac8c2fda3086b411ce7b25a57330.zip
create-dev-keyrings: fix thinko in chmod target
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xcreate-dev-keyrings.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/create-dev-keyrings.bash b/create-dev-keyrings.bash
index 01f15b2..2549817 100755
--- a/create-dev-keyrings.bash
+++ b/create-dev-keyrings.bash
@@ -60,7 +60,7 @@ export_keys() {
# If there are no keys in the export set, then it ALSO does not write the destination file
# and prints 'gpg: WARNING: nothing exported' to stderr
if gpg --output "$TMP" --export "${@}" && test -s "${TMP}"; then
- chmod a+r "${DST}"
+ chmod a+r "${TMP}"
mv "${TMP}" "${DST}"
else
echo "Unable to export keys to $DST"