Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsugar-jhbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild
index 5a47e0a..74c64de 100755
--- a/sugar-jhbuild
+++ b/sugar-jhbuild
@@ -11,7 +11,8 @@ sys.path.append(os.path.join(base_dir, 'scripts'))
sys.path.append(jhbuild_dir)
if os.path.exists(jhbuild_dir):
- if len(sys.argv) == 1 or (len(sys.argv) > 1 and sys.argv[1] == 'build'):
+ if len(sys.argv) == 1 or (len(sys.argv) > 1 and \
+ sys.argv[1] in ('build', 'update')):
print 'Updating sugar-jhbuild...'
retcode = subprocess.call(['git', 'pull'])