Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-jhbuild
diff options
context:
space:
mode:
Diffstat (limited to 'sugar-jhbuild')
-rwxr-xr-xsugar-jhbuild8
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)