diff options
Diffstat (limited to 'sugar-jhbuild')
-rwxr-xr-x | sugar-jhbuild | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild index 4eb5223..6c3135c 100755 --- a/sugar-jhbuild +++ b/sugar-jhbuild @@ -9,18 +9,10 @@ sys.path.append(os.path.join(base_dir, 'build-scripts', 'jhbuild')) import jhbuild.commands import bundlemodule +import sanitycheck + from config import Config from updater import Updater -from dependencychecker import DependencyChecker - -def cmd_sanitycheck(): - checker = DependencyChecker() - checker.check_python('2.5') - - print 'Missing dependencies:' - if len(checker.get_missing()) > 0: - for missing in checker.get_missing(): - print missing updater = Updater(base_dir) updater.update() @@ -36,7 +28,4 @@ if len(sys.argv) > 0: if len(sys.argv) > 1: args = sys.argv[2:] -if command == 'sanitycheck': - cmd_sanitycheck() -else: - jhbuild.commands.run(command, config, args) +jhbuild.commands.run(command, config, args) |