xbps-src: make sure XBPS_WRAPPERDIR is only created in required cases.
- When building a bootstrap pkg and the chroot is not ready (bootstrap). - When building a pkg within the chroot.
This commit is contained in:
parent
d24e75514f
commit
0ce38c4c74
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ setup_pkg() {
|
|||
export XBPS_STATEDIR="${XBPS_BUILDDIR}/.xbps-${sourcepkg}"
|
||||
export XBPS_WRAPPERDIR="${XBPS_STATEDIR}/wrappers"
|
||||
|
||||
if [ -z "$CHROOT_READY" -o -n "$IN_CHROOT" ]; then
|
||||
if [ -n "$bootstrap" -a -z "$CHROOT_READY" -o -n "$IN_CHROOT" ]; then
|
||||
mkdir -p $XBPS_WRAPPERDIR
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue