vp-build/common/travis/build.sh
Enno Boland 31208b8c93 Revert "common/travis: add consistency check on travis runs"
This reverts commit ff13ab493b as it fails
and takes ages to complete.
2016-03-22 18:08:39 +01:00

19 lines
262 B
Bash
Executable File

#!/bin/sh
#
# build.sh
[ "$XLINT" ] && exit 0
if [ "$1" != "$2" ]; then
arch="-a $2"
fi
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
exit 0