mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-25 00:12:19 +00:00
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
Block a user