From 17c3de3e4f6b03953e22d203d5891b37ffdf941c Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 6 Sep 2011 14:11:15 -0400 Subject: makepkg: act on function return value, not output Correcting a typo, as this function will never output anything. Signed-off-by: Dave Reisner --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3-70-g09d2