Introduce "broken" var to skip building broken packages; make "nocross" not error out.

- broken var simply exits (without error) and skips building a pkg.
- nocross var now simply exits without an error, to make buildbot continue building pkgs.
This commit is contained in:
Juan RP 2014-08-22 16:47:35 +02:00
parent 436f03e77c
commit 12a3b16e42
3 changed files with 9 additions and 3 deletions

View file

@ -389,7 +389,11 @@ setup_pkg() {
fi
if [ "$cross" -a "$nocross" ]; then
msg_error "$pkgver: cannot be cross compiled, exiting...\n"
msg_red "$pkgver: cannot be cross compiled, exiting...\n"
exit 0
elif [ "$broken" ]; then
msg_red "$pkgver: cannot be built, it's currently broken; exiting...\n"
exit 0
fi
}