void-packages/common/travis/build.sh

17 lines
216 B
Bash
Raw Normal View History

#!/bin/sh
#
# build.sh
2015-07-14 08:47:06 +00:00
[ "$XLINT" ] && exit 0
2015-04-15 09:23:37 +00:00
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