summaryrefslogtreecommitdiffstats
path: root/pusher.py
diff options
context:
space:
mode:
Diffstat (limited to 'pusher.py')
-rw-r--r--pusher.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/pusher.py b/pusher.py
index a60958a..3a97a4b 100644
--- a/pusher.py
+++ b/pusher.py
@@ -32,10 +32,6 @@ import sys
import glob
import subprocess
-# don't let koji poll for status
-# NOTE: EPEL still uses plague
-os.env["BUILD_FLAGS"] == "--nowait"
-
def run(cmd,failok=False):
"""
Wrapper around subprocess
@@ -43,7 +39,7 @@ def run(cmd,failok=False):
print "running: %s" % cmd
rc = subprocess.call(cmd, shell=True)
print "rc: %s" % rc
- if failok and not rc:
+ if not failok and not rc == 0:
croak("aborting")
@@ -142,7 +138,7 @@ for x in PROCESS_RELEASES:
print "cd into %s" % releasedir
os.chdir(releasedir)
rc = run("make tag")
- rc = run("make build",failok=True)
+ rc = run("BUILD_FLAGS=\"--nowait\" make build",failok=True)
print "---------------------------------------------"
print "all done, assuming you didn't see anything weird"