abuild: report error if md5sum exist but no sources

This commit is contained in:
Natanael Copa 2012-11-29 08:59:37 +01:00
parent 7eee670208
commit 30afd29665

View File

@ -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