diff options
Diffstat (limited to 'sugar-jhbuild')
-rwxr-xr-x | sugar-jhbuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild index 45a74ed..ad084e3 100755 --- a/sugar-jhbuild +++ b/sugar-jhbuild @@ -25,11 +25,13 @@ if len(sys.argv) > 0: if len(sys.argv) > 1: args = sys.argv[2:] -if command == 'build-base': +if command == 'build': + print 'Checking dependencies...' + jhbuild.commands.run('sanitycheck', config, []) +elif command == 'build-base': command = 'build' args.append('meta-sugar-base') - -if command == 'run' and len(args) == 0: +elif command == 'run' and len(args) == 0: args.append('sugar-emulator') jhbuild.commands.run(command, config, args) |