Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-jhbuild
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2008-04-20 08:53:12 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2008-04-20 08:53:12 (GMT)
commit03f98774e474b2edc27ab880274c35078a43f48e (patch)
tree3e5212dfc42921b35ad29875fc9d389584909a03 /sugar-jhbuild
parent62b242857c68bffc5da4283079133126da21bf97 (diff)
Update also sugar-jhbuild
Diffstat (limited to 'sugar-jhbuild')
-rwxr-xr-xsugar-jhbuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild
index 445ee8f..5a47e0a 100755
--- a/sugar-jhbuild
+++ b/sugar-jhbuild
@@ -14,12 +14,16 @@ if os.path.exists(jhbuild_dir):
if len(sys.argv) == 1 or (len(sys.argv) > 1 and sys.argv[1] == 'build'):
print 'Updating sugar-jhbuild...'
+ retcode = subprocess.call(['git', 'pull'])
+ if retcode:
+ print 'Failed to update sugar-jhbuild.'
+
cwd = os.getcwd()
os.chdir(jhbuild_dir)
retcode = subprocess.call(['git', 'pull'])
if retcode:
- print 'Failed to update sugar-jhbuild.'
+ print 'Failed to update jhbuild.'
os.chdir(cwd)
else: