From 687f04ab4699440e3d8b371454b26039b6eb2772 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sat, 14 Mar 2009 23:43:05 +1000 Subject: Only check checksums if there is a source file Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- scripts/makepkg.sh.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index d2cf52e2..0aa8a9b1 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -547,6 +547,8 @@ generate_checksums() { } check_checksums() { + [ ${#source[@]} -eq 0 ] && return 0 + if [ ! $(type -p openssl) ]; then error "$(gettext "Cannot find openssl.")" exit 1 # $E_MISSING_PROGRAM -- cgit v1.2.3-70-g09d2