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:
parent
377a6bc1d7
commit
4df0bcff74
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue