Commit 11445603 authored by Natanael Copa's avatar Natanael Copa

do not run md5sum if there are nothing to check

parent f463f826
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment