diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh index 781d08e8b79..a0a60eac974 100644 --- a/common/xbps-src/shutils/common.sh +++ b/common/xbps-src/shutils/common.sh @@ -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