xbps-src: create XBPS_WRAPPERDIR via libexec/build.sh.

This way there's no stale files in other unrelated targets,
like `show-build-deps`.
This commit is contained in:
Juan RP 2020-04-07 12:39:41 +02:00
parent 377a6bc1d7
commit 4df0bcff74
No known key found for this signature in database
GPG key ID: AF19F6CB482F9368
2 changed files with 2 additions and 2 deletions

View file

@ -29,6 +29,8 @@ done
setup_pkg "$PKGNAME" $XBPS_CROSS_BUILD
readonly SOURCEPKG="$sourcepkg"
mkdir -p $XBPS_WRAPPERDIR
show_pkg_build_options
check_pkg_arch $XBPS_CROSS_BUILD

View file

@ -643,8 +643,6 @@ setup_pkg() {
export XBPS_STATEDIR="${XBPS_BUILDDIR}/.xbps-${sourcepkg}"
export XBPS_WRAPPERDIR="${XBPS_STATEDIR}/wrappers"
mkdir -p $XBPS_STATEDIR $XBPS_WRAPPERDIR
source_file $XBPS_COMMONDIR/environment/build-style/${build_style}.sh
# Source all build-helper files that are defined