tools/bass-o-matic
changeset 37 988ea0021850
parent 34 d20b10eba317
child 3770 ca450a806cc1
--- a/tools/bass-o-matic	Fri Oct 15 16:13:02 2010 -0500
+++ b/tools/bass-o-matic	Fri Oct 15 16:14:01 2010 -0500
@@ -158,8 +158,8 @@
         if template_zone:
             print "using template zone %s to create a build environment for %s to run '%s'" % (template_zone, component_arg, ['gmake'] + args)
         proc = subprocess.Popen(['gmake'] + args)
-	proc.wait()
-        sys.exit(0)
+	rc = proc.wait()
+        sys.exit(rc)
 
     if components_arg:
         if components_arg in [ 'path', 'paths', 'dir', 'dirs', 'directories' ]: