summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/executable/gpg.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/libmakepkg/executable/gpg.sh.in')
-rw-r--r--scripts/libmakepkg/executable/gpg.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/libmakepkg/executable/gpg.sh.in b/scripts/libmakepkg/executable/gpg.sh.in
index c0f57013..139773ef 100644
--- a/scripts/libmakepkg/executable/gpg.sh.in
+++ b/scripts/libmakepkg/executable/gpg.sh.in
@@ -28,6 +28,8 @@ source "$LIBRARY/util/option.sh"
executable_functions+=('executable_gpg')
executable_gpg() {
+ local ret=0
+
if [[ $SIGNPKG == 'y' ]] || { [[ -z $SIGNPKG ]] && check_buildenv "sign" "y"; }; then
if ! type -p gpg >/dev/null; then
error "$(gettext "Cannot find the %s binary required for signing packages.")" "gpg"
@@ -41,4 +43,6 @@ executable_gpg() {
ret=1
fi
fi
+
+ return $ret
}