diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-02-08 16:44:56 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-02-08 16:44:56 -0500 |
commit | d66e2f6dd8865f51dc43c1d9a40812c698c1f9b1 (patch) | |
tree | 68d130947bc4761285f13e04f6151b3bcb593baf /pusher.py | |
parent | c2f6a0d136829528e4b4ff769a1a065a33625a12 (diff) | |
download | third_party-func-d66e2f6dd8865f51dc43c1d9a40812c698c1f9b1.tar.gz third_party-func-d66e2f6dd8865f51dc43c1d9a40812c698c1f9b1.tar.xz third_party-func-d66e2f6dd8865f51dc43c1d9a40812c698c1f9b1.zip |
Working on script to help push code.
Diffstat (limited to 'pusher.py')
-rw-r--r-- | pusher.py | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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" |