travis/build.sh: fix repo path, use -H.

This commit is contained in:
Juan RP 2020-01-01 12:52:43 +01:00
parent 7a217ffadd
commit 186e9f3025

View File

@ -7,8 +7,8 @@ if [ "$1" != "$2" ]; then
fi
# Make sure `base-chroot` is really up-to-date
/hostrepo/xbps-src -f pkg base-chroot || exit 1
xbps-install --repository=/host/binpkgs -yif base-chroot || exit 1
/hostrepo/xbps-src -H "$HOME"/hostdir -f pkg base-chroot || exit 1
xbps-install --repo="$HOME"/host/binpkgs -yif base-chroot || exit 1
# remove autodeps
xbps-remove -yo || exit 1