xbps-src: set XBPS_TARGET_MACHINE if unset.
This commit is contained in:
parent
eb011d66af
commit
9a21eb0385
3
xbps-src
3
xbps-src
|
@ -454,6 +454,9 @@ fi
|
||||||
if [ -n "$XBPS_ARCH" ]; then
|
if [ -n "$XBPS_ARCH" ]; then
|
||||||
export XBPS_MACHINE=$XBPS_ARCH
|
export XBPS_MACHINE=$XBPS_ARCH
|
||||||
fi
|
fi
|
||||||
|
if [ -z "$XBPS_TARGET_MACHINE" ]; then
|
||||||
|
export XBPS_TARGET_MACHINE=${XBPS_ARCH:=$XBPS_MACHINE}
|
||||||
|
fi
|
||||||
|
|
||||||
export XBPS_SHUTILSDIR XBPS_CROSSPFDIR XBPS_TRIGGERSDIR \
|
export XBPS_SHUTILSDIR XBPS_CROSSPFDIR XBPS_TRIGGERSDIR \
|
||||||
XBPS_SRCPKGDIR XBPS_COMMONDIR XBPS_BUILDDIR XBPS_REPO_DELTAS \
|
XBPS_SRCPKGDIR XBPS_COMMONDIR XBPS_BUILDDIR XBPS_REPO_DELTAS \
|
||||||
|
|
Loading…
Reference in New Issue