xbps-src: correct test behaviour for build-profiles.
This commit is contained in:
parent
1a1487ec82
commit
d982c558f2
@ -331,7 +331,7 @@ setup_pkg() {
|
|||||||
dbgflags="-g"
|
dbgflags="-g"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$XBPS_CFLAGS" -a -z "$XBPS_CXXFLAGS" -a -z "$CHROOT_READY" ]; then
|
if [ -z "$XBPS_CFLAGS" -a -z "$XBPS_CXXFLAGS" -a -n "$CHROOT_READY" ]; then
|
||||||
if [ -s ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh ]; then
|
if [ -s ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh ]; then
|
||||||
. ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh
|
. ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user