travis/build.sh: update bootstrap pkgs two times.

This is required because xbps might be updated the first time.
This commit is contained in:
Juan RP 2019-06-16 21:40:40 +02:00
parent fb43852c26
commit 66d8cbf014

View file

@ -23,6 +23,8 @@ XBPS_SRCPKGDIR=/hostrepo/srcpkgs XBPS_MASTERDIR=/ chroot_prepare $1 || {
exit 1
}
# Two times due to updating xbps itself
/hostrepo/xbps-src -H "$HOME"/hostdir bootstrap-update
/hostrepo/xbps-src -H "$HOME"/hostdir bootstrap-update
PKGS=$(/hostrepo/xbps-src sort-dependencies $(cat /tmp/templates))