xbps-src/shutils/bulk: pass --distdir option to xbps-checkvers(8) instead.

This commit is contained in:
Juan RP 2014-04-17 10:36:45 +02:00
parent 81fa3356e2
commit 8aa48b07ff
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ bulk_build() {
if ! command -v xbps-checkvers &>/dev/null; then
msg_error "xbps-src: cannot find xbps-checkvers(8) command!\n"
fi
_pkgs=$(xbps-checkvers ${1} -d $XBPS_DISTDIR | awk '{print $2}')
_pkgs=$(xbps-checkvers ${1} --distdir=$XBPS_DISTDIR | awk '{print $2}')
# Iterate over the list and make sure that only real pkgs are
# added to our pkglist.
for pkg in ${_pkgs}; do