aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"