travis/build.sh: sort dependencies to build in proper order.
This commit is contained in:
parent
cef388f07b
commit
2fdd875618
|
@ -8,7 +8,9 @@ if [ "$1" != "$2" ]; then
|
|||
arch="-a $2"
|
||||
fi
|
||||
|
||||
for pkg in $(cat /tmp/templates); do
|
||||
PKGS=$(./xbps-src sort-dependencies $(cat /tmp/templates))
|
||||
|
||||
for pkg in ${PKGS}; do
|
||||
./xbps-src -H $HOME/hostdir $arch -C pkg "$pkg"
|
||||
[ $? -eq 1 ] && exit 1
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue