common/travis/build.sh: use $test for sort-dependencies

This ensures that checkdepends will be taken into account in the build
order whenever test is enabled.
This commit is contained in:
Gonzalo Tornaría 2023-12-26 12:46:37 -03:00 committed by Đoàn Trần Công Danh
parent 7bd875c33f
commit f7a6688401
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ if [ "$3" = 1 ]; then
test="-Q"
fi
PKGS=$(/hostrepo/xbps-src sort-dependencies $(cat /tmp/templates))
PKGS=$(/hostrepo/xbps-src $test sort-dependencies $(cat /tmp/templates))
for pkg in ${PKGS}; do
/hostrepo/xbps-src -j$(nproc) -s -H "$HOME"/hostdir $arch $test pkg "$pkg"