summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-11-29 08:59:37 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2012-11-29 08:59:37 +0100
commit30afd296655b0690e216a822fd37dc656ef5c6c3 (patch)
tree182bab8bb5304d8df0859e3e2b2260bc32ba4c5e /abuild.in
parent7eee670208d657eafbd5a123d55b155bcdfa83c7 (diff)
downloadabuild-30afd296655b0690e216a822fd37dc656ef5c6c3.tar.gz
abuild-30afd296655b0690e216a822fd37dc656ef5c6c3.tar.bz2
abuild-30afd296655b0690e216a822fd37dc656ef5c6c3.tar.xz
abuild-30afd296655b0690e216a822fd37dc656ef5c6c3.zip
abuild: report error if md5sum exist but no sources
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 175c227..10cd211 100755
--- a/abuild.in
+++ b/abuild.in
@@ -219,7 +219,7 @@ sanitycheck() {
md5check() {
local dummy f endreturnval originalparams origin file
- if [ -z "$source" ]; then
+ if [ -z "$source" ] && [ -z "$md5sums" ]; then
return 0
fi
if [ -z "$md5sums" ]; then