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:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user