Commit f138d670 authored by Natanael Copa's avatar Natanael Copa

abuild: bugfix. allow apkbiudls without build()

parent 542b9cf4
...@@ -292,7 +292,7 @@ runpart() { ...@@ -292,7 +292,7 @@ runpart() {
# override those in your build script # override those in your build script
build() { build() {
die "No build() function found in $APKBUILD" :
} }
get_split_func() { get_split_func() {
...@@ -630,7 +630,7 @@ rootpkg() { ...@@ -630,7 +630,7 @@ rootpkg() {
if is_function package; then if is_function package; then
msg "Building without fakeroot" msg "Building without fakeroot"
build || return 1 build || return 1
do_build= do_build=package
fi fi
cd "$startdir" cd "$startdir"
msg "Entering fakeroot..." msg "Entering fakeroot..."
......
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