summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2008-10-30 15:53:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2008-10-30 15:53:42 +0000
commit11445603e0800b13f2489f8bc3cc3af1fb00d7b4 (patch)
tree5369f7c121686782d7bf6b61b7457e342cea351e
parentf463f826023dd5d6786be0efa47ac054eeb51214 (diff)
downloadabuild-11445603e0800b13f2489f8bc3cc3af1fb00d7b4.tar.gz
abuild-11445603e0800b13f2489f8bc3cc3af1fb00d7b4.tar.bz2
abuild-11445603e0800b13f2489f8bc3cc3af1fb00d7b4.tar.xz
abuild-11445603e0800b13f2489f8bc3cc3af1fb00d7b4.zip
do not run md5sum if there are nothing to check
-rwxr-xr-xabuild3
1 files changed, 3 insertions, 0 deletions
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