do not run md5sum if there are nothing to check
This commit is contained in:
parent
f463f82602
commit
11445603e0
3
abuild
3
abuild
|
@ -56,6 +56,9 @@ checkdeps() {
|
||||||
}
|
}
|
||||||
|
|
||||||
checkmd5() {
|
checkmd5() {
|
||||||
|
if [ -z "$source" ]; then
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
if [ -z "$md5sums" ]; then
|
if [ -z "$md5sums" ]; then
|
||||||
die "Use 'abuild checksum >>$APKBUILD' to generate a checksum"
|
die "Use 'abuild checksum >>$APKBUILD' to generate a checksum"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue