summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-10-23 13:12:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-10-23 13:12:32 +0000
commitf138d6704b61e542091262f06db4ccf5ed766c56 (patch)
tree3058ce3676bd5e8abc2f565075e1c07440b855b9
parent542b9cf486271a9b9637ac422ded2f89a63edea7 (diff)
downloadabuild-f138d6704b61e542091262f06db4ccf5ed766c56.tar.bz2
abuild-f138d6704b61e542091262f06db4ccf5ed766c56.tar.xz
abuild: bugfix. allow apkbiudls without build()
-rwxr-xr-xabuild.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/abuild.in b/abuild.in
index 843fd06..6b99ca2 100755
--- a/abuild.in
+++ b/abuild.in
@@ -292,7 +292,7 @@ runpart() {
# override those in your build script
build() {
- die "No build() function found in $APKBUILD"
+ :
}
get_split_func() {
@@ -630,7 +630,7 @@ rootpkg() {
if is_function package; then
msg "Building without fakeroot"
build || return 1
- do_build=
+ do_build=package
fi
cd "$startdir"
msg "Entering fakeroot..."