зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1692941 - Use zip and unzip paths per configure in make_{zip,unzip}. r=firefox-build-system-reviewers,andi,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D105264
This commit is contained in:
Родитель
c0a9b1a56c
Коммит
3713567f10
|
@ -6,10 +6,11 @@ from __future__ import absolute_import, print_function
|
|||
|
||||
import sys
|
||||
import subprocess
|
||||
import buildconfig
|
||||
|
||||
|
||||
def make_unzip(package):
|
||||
subprocess.check_call(["unzip", package])
|
||||
subprocess.check_call([buildconfig.substs["UNZIP"], package])
|
||||
|
||||
|
||||
def main(args):
|
||||
|
|
|
@ -6,10 +6,13 @@ from __future__ import absolute_import, print_function
|
|||
|
||||
import sys
|
||||
import subprocess
|
||||
import buildconfig
|
||||
|
||||
|
||||
def make_zip(source, package):
|
||||
subprocess.check_call(["zip", "-r9D", package, source, "-x", "\*/.mkdir.done"])
|
||||
subprocess.check_call(
|
||||
[buildconfig.substs["ZIP"], "-r9D", package, source, "-x", "\*/.mkdir.done"]
|
||||
)
|
||||
|
||||
|
||||
def main(args):
|
||||
|
|
Загрузка…
Ссылка в новой задаче