Skip to content

Commit

Permalink
Merge pull request andreasgal#287 from ahal/disabled_category
Browse files Browse the repository at this point in the history
Bug 926607 - add disabled category to mach bootstrap, r=jgriffin
  • Loading branch information
Jonathan Griffin committed Oct 17, 2013
2 parents f5fef25 + 32cbbf7 commit 9ebfaca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/mach_b2g_bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@
'short': 'Potpourri',
'long': 'Potent potables and assorted snacks.',
'priority': 10,
},
'disabled': {
'short': 'Disabled',
'long': 'These commands are unavailable for your current context, run "mach <command>" to see why.',
'priority': 0,
}
}

Expand Down Expand Up @@ -163,7 +168,7 @@ def bootstrap(b2g_home):
print(LOAD_CONFIG_FAILED % e.output.strip())
sys.exit(1)

# If a gecko source tree is detected, its mach modules are are also
# If a gecko source tree is detected, its mach modules are also
# loaded.
gecko_dir = os.environ.get('GECKO_PATH', os.path.join(b2g_home, 'gecko'))
gecko_bootstrap_dir = os.path.join(gecko_dir, 'build')
Expand Down

0 comments on commit 9ebfaca

Please sign in to comment.