vp-build/common/travis/build.sh

14 lines
170 B
Bash
Raw Normal View History

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