зеркало из https://github.com/mozilla/gecko-dev.git
followup mac orange fix (so we can turn mac nightly update generation on) for Bug 386760 - directory removal with software update. r=khuey
This commit is contained in:
Родитель
497e7711c2
Коммит
8027207fcc
|
@ -45,6 +45,10 @@ def generate_precomplete():
|
|||
for the location to enumerate and to create the precomplete file.
|
||||
"""
|
||||
root_path = os.getcwd()
|
||||
# If inside a Mac bundle use the root of the bundle for the path.
|
||||
if os.path.basename(root_path) == "MacOS":
|
||||
root_path = os.path.abspath(os.path.join(root_path, '../../'))
|
||||
|
||||
rel_file_path_list, rel_dir_path_list = get_build_entries(root_path)
|
||||
precomplete_file_path = os.path.join(root_path,"precomplete")
|
||||
# open in binary mode to prevent OS specific line endings.
|
||||
|
|
Загрузка…
Ссылка в новой задаче