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>
This commit is contained in:
Dave Reisner 2011-09-06 14:11:15 -04:00 committed by Dan McGee
parent 3d9f961d13
commit 17c3de3e4f
1 changed files with 1 additions and 1 deletions

View File

@ -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