From 03f98774e474b2edc27ab880274c35078a43f48e Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 20 Apr 2008 08:53:12 +0000 Subject: Update also sugar-jhbuild --- (limited to 'sugar-jhbuild') 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: -- cgit v0.9.1