abuild: bugfix. allow apkbiudls without build()

This commit is contained in:
Natanael Copa 2009-10-23 13:12:32 +00:00
parent 542b9cf486
commit f138d6704b
1 changed files with 2 additions and 2 deletions

View File

@ -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() {
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..."