Signed-off-by: Allan McRae <[email protected]>
---
 scripts/makepkg.sh.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 2ff98f1..3ff256f 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -547,6 +547,8 @@ generate_checksums() {
 }
 
 check_checksums() {
+       [ ${#sour...@]} -eq 0 ] && return 0
+
        if [ ! $(type -p openssl) ]; then
                error "$(gettext "Cannot find openssl.")"
                exit 1 # $E_MISSING_PROGRAM
-- 
1.6.2

_______________________________________________
pacman-dev mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/pacman-dev

Reply via email to