commit: 2d8dcda77b43ac8c2fda3086b411ce7b25a57330
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 12 22:15:15 2018 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Nov 12 22:15:15 2018 +0000
URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=2d8dcda7
create-dev-keyrings: fix thinko in chmod target
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
create-dev-keyrings.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"