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