Commit 11445603 authored by Natanael Copa's avatar Natanael Copa
Browse files

do not run md5sum if there are nothing to check

parent f463f826
...@@ -56,6 +56,9 @@ checkdeps() { ...@@ -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
......
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