xbps-src: bulk: setup srcpkg vars before reading target template.
This commit is contained in:
parent
4a0a153e37
commit
8d9f0ed815
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ bulk_build() {
|
|||
# Perform a topological sort of all pkgs but only with build dependencies
|
||||
# that are found in previous step.
|
||||
for pkg in ${pkgs}; do
|
||||
for x in ${XBPS_COMMONDIR}/environment/setup/*.sh; do
|
||||
. $x
|
||||
done
|
||||
. ${XBPS_SRCPKGDIR}/${pkg}/template
|
||||
_pkgs="$(show_pkg_build_deps | sed -e 's|[<>].*\$||g')"
|
||||
found=0
|
||||
|
|
Loading…
Reference in a new issue