diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-08-14 19:24:01 (GMT) |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-08-14 19:24:01 (GMT) |
commit | d93122bf5e8622f6c8ede4b3b80295f9b8511425 (patch) | |
tree | 3eb27e91975eeef66d55df0f7608e28b463f177f /maint-helper.py | |
parent | 7368429ad6feadd9e81757433b68b63d9d27c04f (diff) | |
parent | 0e4eccd49b056e5aebe71ffa46d462e15fd7a883 (diff) |
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Diffstat (limited to 'maint-helper.py')
-rwxr-xr-x | maint-helper.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/maint-helper.py b/maint-helper.py index 8c64ca2..e1bbe22 100755 --- a/maint-helper.py +++ b/maint-helper.py @@ -16,6 +16,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# Latest source available at git://dev.laptop.org/sugar + import os import sys import re @@ -64,7 +66,9 @@ def cmd_build_snapshot(): print 'Build %s...' % tarball - os.spawnlp(os.P_WAIT, 'make', 'make', 'distcheck') + retcode = subprocess.call(['make', 'distcheck']) + if retcode: + sys.exit(0) os.rename('%s-%s.tar.bz2' % (name, version), tarball) |