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
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..."