shutils/bulk.sh: use XBPS_DISTDIR when running xbps-src

This commit is contained in:
Stefano Ragni 2019-11-30 12:23:44 +01:00 committed by Juan RP
parent 7169946e94
commit 3c8ad720a3
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ bulk_sortdeps() {
# Perform a topological sort of all pkgs but only with build dependencies
# that are found in previous step.
for pkg in ${pkgs}; do
_pkgs="$(./xbps-src show-build-deps $pkg 2>/dev/null)"
_pkgs="$($XBPS_DISTDIR/xbps-src show-build-deps $pkg 2>/dev/null)"
found=0
for x in ${_pkgs}; do
_pkg=$(bulk_getlink $x)