xbps-src: correct test behaviour for build-profiles.
This commit is contained in:
parent
1a1487ec82
commit
d982c558f2
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ setup_pkg() {
|
|||
dbgflags="-g"
|
||||
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
|
||||
. ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue