index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2020-06-08 21:59:18 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-06-11 10:56:30 +1000 |
commit | 899d39b635d46f9e2daff1aada75ea07f08fef64 (patch) | |
tree | 746022d39a0f368f293f521b6758257314527d98 /scripts/makepkg.sh.in | |
parent | bf458cced7c0845f7b6fabb887d3878ae4cd51b2 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index caf809f3..0de77c0c 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1286,7 +1286,7 @@ fi # check if gpg signature is to be created and if signing key is valid if { [[ -z $SIGNPKG ]] && check_buildenv "sign" "y"; } || [[ $SIGNPKG == 'y' ]]; then SIGNPKG='y' - if ! gpg --list-key ${GPGKEY} &>/dev/null; then + if ! gpg --list-key ${GPGKEY:+"$GPGKEY"} &>/dev/null; then if [[ ! -z $GPGKEY ]]; then error "$(gettext "The key %s does not exist in your keyring.")" "${GPGKEY}" else |