Skip to content
Snippets Groups Projects
Commit 11445603 authored by Natanael Copa's avatar Natanael Copa
Browse files

do not run md5sum if there are nothing to check

parent f463f826
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment