diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-12-14 07:40:35 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-12-14 07:40:35 (GMT) |
commit | 698feee203341dd8f59ecdf3177039b963569a9a (patch) | |
tree | 8e78b6300e50418f2744bef833f051e9bdf357eb /tools | |
parent | 61181331503ace6093cd0a4dcefa1276f5731329 (diff) | |
parent | cb8a1ae7f3375d4fb6a52190096490ce9b4291f2 (diff) | |
download | mxe-698feee203341dd8f59ecdf3177039b963569a9a.zip mxe-698feee203341dd8f59ecdf3177039b963569a9a.tar.gz mxe-698feee203341dd8f59ecdf3177039b963569a9a.tar.bz2 |
Merge pull request #1057 from LuaAndC/build-pkg-exit-status
build-pkg: exit with code 1 if a package is broken
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build-pkg.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua index 3a878ee..44fce03 100755 --- a/tools/build-pkg.lua +++ b/tools/build-pkg.lua @@ -744,3 +744,8 @@ if not no_debs then makeMxeRequirementsPackage('jessie') end makeMxeSourcePackage() +if #unbroken < #build_list then + local code = 1 + local close = true + os.exit(code, close) +end |