common/travis/build.sh: only error out if xbps-src exits with 1.
broken/nocross exits with 2, should be treated as success.
This commit is contained in:
parent
54d6cb8eed
commit
41d2237b20
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ if [ "$1" != x86_64 ]; then
|
|||
fi
|
||||
|
||||
for pkg in $(cat /tmp/templates); do
|
||||
./xbps-src $arch -C pkg "$pkg" || exit 1
|
||||
./xbps-src $arch -C pkg "$pkg"
|
||||
[ $? -eq 1 ] && exit 1
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue