Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/maint-helper.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-08-20 19:10:43 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-08-20 19:10:43 (GMT)
commit434d3d7f29bca2314c1b475aa03f4ea23c91e8f4 (patch)
treebbf8b018ce2b6b5a3abdf773dcc26f8bc547707b /maint-helper.py
parentcfb364bb0f4d310a7588db776d2244c65dc39997 (diff)
Update NEWS
Diffstat (limited to 'maint-helper.py')
-rwxr-xr-xmaint-helper.py6
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)