diff options
Diffstat (limited to 'sugar-jhbuild')
-rwxr-xr-x | sugar-jhbuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild index f98a6b1..5cd450c 100755 --- a/sugar-jhbuild +++ b/sugar-jhbuild @@ -8,7 +8,7 @@ base_dir = os.path.abspath(os.path.dirname(__file__)) sys.path.append(os.path.join(base_dir, 'build-scripts', 'jhbuild')) # The update needs to be very early, before we load any module -if len(sys.argv) > 0 and sys.argv[1] == 'build': +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: |