зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1736762 - Stop waiting for user input before the creation of ~/.mozbuild . r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162638
This commit is contained in:
Родитель
4a05f3fcdd
Коммит
1c4a8ab901
|
@ -30,11 +30,9 @@ on the filesystem. The following directory will be created:
|
|||
|
||||
{}
|
||||
|
||||
If you would like to use a different directory, hit CTRL+c, set the
|
||||
MOZBUILD_STATE_PATH environment variable to the directory you'd like to
|
||||
use, and run Mach again.
|
||||
|
||||
Press ENTER/RETURN to continue or CTRL+c to abort.
|
||||
If you would like to use a different directory, rename or move it to your
|
||||
desired location, and set the MOZBUILD_STATE_PATH environment variable
|
||||
accordingly.
|
||||
""".strip()
|
||||
|
||||
|
||||
|
@ -586,11 +584,6 @@ def _create_state_dir():
|
|||
if not os.path.exists(state_dir):
|
||||
if not os.environ.get("MOZ_AUTOMATION"):
|
||||
print(STATE_DIR_FIRST_RUN.format(state_dir))
|
||||
try:
|
||||
sys.stdin.readline()
|
||||
print("\n")
|
||||
except KeyboardInterrupt:
|
||||
sys.exit(1)
|
||||
|
||||
print("Creating default state directory: {}".format(state_dir))
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче