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
|
# 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..."
|
||||||
|
|
Loading…
Reference in New Issue