vp-build/common/travis/build.sh
2015-04-15 11:23:37 +02:00

15 lines
191 B
Bash
Executable File

#!/bin/sh
#
# build.sh
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