summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-12-14 07:40:35 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-12-14 07:40:35 (GMT)
commit698feee203341dd8f59ecdf3177039b963569a9a (patch)
tree8e78b6300e50418f2744bef833f051e9bdf357eb /tools
parent61181331503ace6093cd0a4dcefa1276f5731329 (diff)
parentcb8a1ae7f3375d4fb6a52190096490ce9b4291f2 (diff)
downloadmxe-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-xtools/build-pkg.lua5
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