From 11445603e0800b13f2489f8bc3cc3af1fb00d7b4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 30 Oct 2008 15:53:42 +0000 Subject: [PATCH] do not run md5sum if there are nothing to check --- abuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/abuild b/abuild index 6218836..a5b6c6a 100755 --- a/abuild +++ b/abuild @@ -56,6 +56,9 @@ checkdeps() { } checkmd5() { + if [ -z "$source" ]; then + return 0 + fi if [ -z "$md5sums" ]; then die "Use 'abuild checksum >>$APKBUILD' to generate a checksum" fi