diff options
Diffstat (limited to 'sugar-jhbuild')
-rwxr-xr-x | sugar-jhbuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild index aecca99..828cff8 100755 --- a/sugar-jhbuild +++ b/sugar-jhbuild @@ -9,14 +9,17 @@ sys.path.append(os.path.join(base_dir, 'build-scripts', 'jhbuild')) import jhbuild.commands from config import Config +import bundlemodule config = Config(base_dir) +args = [] +command = 'build' + +if len(sys.argv) > 0: + command = sys.argv[1] + if len(sys.argv) > 1: - command = sys.argv[1] args = sys.argv[2:] -else: - command = 'build' - args = sys.argv[1:] jhbuild.commands.run(command, config, args) |