summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-14 09:54:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-14 09:54:43 +0000
commit57e05c4c01ed442e3c567b40cbf40163345a5537 (patch)
tree9f549c1c997750525a81b8540f70ae6b707260b3 /abuild.in
parent9dab733417f28e1687c5e72e9493168d1b469ccb (diff)
downloadabuild-57e05c4c01ed442e3c567b40cbf40163345a5537.tar.gz
abuild-57e05c4c01ed442e3c567b40cbf40163345a5537.tar.bz2
abuild-57e05c4c01ed442e3c567b40cbf40163345a5537.tar.xz
abuild-57e05c4c01ed442e3c567b40cbf40163345a5537.zip
abuild: allow override sanitycheck
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 0f679c9..b7cfecd 100755
--- a/abuild.in
+++ b/abuild.in
@@ -95,7 +95,7 @@ die() {
}
# check if apkbuild is basicly sane
-sanitycheck() {
+default_sanitycheck() {
local i= j= suggestion=
msg "Checking sanity of $APKBUILD..."
[ -z "$pkgname" ] && die "Missing pkgname in APKBUILD"
@@ -180,6 +180,10 @@ sanitycheck() {
return 0
}
+sanitycheck() {
+ default_sanitycheck
+}
+
md5check() {
local dummy f endreturnval originalparams origin file
if [ -z "$source" ]; then