Commit 57e05c4c authored by Natanael Copa's avatar Natanael Copa

abuild: allow override sanitycheck

parent 9dab7334
...@@ -95,7 +95,7 @@ die() { ...@@ -95,7 +95,7 @@ die() {
} }
# check if apkbuild is basicly sane # check if apkbuild is basicly sane
sanitycheck() { default_sanitycheck() {
local i= j= suggestion= local i= j= suggestion=
msg "Checking sanity of $APKBUILD..." msg "Checking sanity of $APKBUILD..."
[ -z "$pkgname" ] && die "Missing pkgname in APKBUILD" [ -z "$pkgname" ] && die "Missing pkgname in APKBUILD"
...@@ -180,6 +180,10 @@ sanitycheck() { ...@@ -180,6 +180,10 @@ sanitycheck() {
return 0 return 0
} }
sanitycheck() {
default_sanitycheck
}
md5check() { md5check() {
local dummy f endreturnval originalparams origin file local dummy f endreturnval originalparams origin file
if [ -z "$source" ]; then if [ -z "$source" ]; then
......
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