summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-09-06 14:11:15 -0400
committerDan McGee <dan@archlinux.org>2011-09-07 21:05:04 -0500
commit17c3de3e4f6b03953e22d203d5891b37ffdf941c (patch)
treec6fb9071444443e378b73a1ae1c18448810dc1bd /scripts/makepkg.sh.in
parent3d9f961d1367bf1669332047e667f98b9d35531e (diff)
downloadpacman-17c3de3e4f6b03953e22d203d5891b37ffdf941c.tar.xz
makepkg: act on function return value, not output
Correcting a typo, as this function will never output anything. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 22ae8453..ff1ddf8a 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1614,7 +1614,7 @@ check_software() {
fi
# gpg - source verification
- if (( ! SKIPPGPCHECK )) && [[ source_has_signatures ]]; then
+ if (( ! SKIPPGPCHECK )) && source_has_signatures; then
if ! type -p gpg >/dev/null; then
error "$(gettext "Cannot find the %s binary required for verifying source files.")" "gpg"
ret=1