mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-03 13:12:15 +00:00
abuild: always use $APK instead of apk
This commit is contained in:
parent
6aa8fcc012
commit
7276042237
@ -2507,11 +2507,11 @@ rootbld() {
|
||||
return
|
||||
fi
|
||||
|
||||
apk info -eq abuild-rootbld || die "rootbld: abuild-rootbld package not installed"
|
||||
$APK info -eq abuild-rootbld || die "rootbld: abuild-rootbld package not installed"
|
||||
|
||||
[ $CBUILD = $CHOST ] || die "rootbld: set CBUILD=$CHOST to build for $CHOST"
|
||||
|
||||
if ! [ $CBUILD_ARCH = "$(apk --print-arch)" ]; then
|
||||
if ! [ $CBUILD_ARCH = "$($APK --print-arch)" ]; then
|
||||
# cross-building, so check for binfmt registration
|
||||
local qarch="$(rootbld_qemu_arch)"
|
||||
if ! [ -f "/proc/sys/fs/binfmt_misc/qemu-$qarch" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user