From 30afd296655b0690e216a822fd37dc656ef5c6c3 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 29 Nov 2012 08:59:37 +0100 Subject: [PATCH] abuild: report error if md5sum exist but no sources --- abuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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