abuild: bugfix. allow apkbiudls without build()
This commit is contained in:
parent
542b9cf486
commit
f138d6704b
|
@ -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..."
|
||||
|
|
Loading…
Reference in New Issue