зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1680051: Ignore error when removing old psutil directory r=firefox-build-system-reviewers,dmajor
Don't fail to run all mach commands when old psutil directory cannot be removed. Glandium mentioned that there shouldn't be any negative effects from the old directory lingering. Differential Revision: https://phabricator.services.mozilla.com/D98352
This commit is contained in:
Родитель
37d53cb0c1
Коммит
f785b29cf3
|
@ -203,7 +203,7 @@ def bootstrap(topsrcdir, mozilla_dir=None):
|
|||
# to clean the repo themselves.
|
||||
deleted_dir = os.path.join(topsrcdir, "third_party", "python", "psutil")
|
||||
if os.path.exists(deleted_dir):
|
||||
shutil.rmtree(deleted_dir)
|
||||
shutil.rmtree(deleted_dir, ignore_errors=True)
|
||||
|
||||
# Global build system and mach state is stored in a central directory. By
|
||||
# default, this is ~/.mozbuild. However, it can be defined via an
|
||||
|
|
Загрузка…
Ссылка в новой задаче