vp-build/common/travis/build.sh
2015-07-14 10:49:16 +02:00

17 lines
216 B
Bash
Executable File

#!/bin/sh
#
# build.sh
[ "$XLINT" ] && exit 0
if [ "$1" != "$2" ]; then
arch="-a $2"
fi
for pkg in $(cat /tmp/templates); do
./xbps-src -H $HOME/hostdir $arch -C pkg "$pkg"
[ $? -eq 1 ] && exit 1
done
exit 0