summaryrefslogtreecommitdiffstats
path: root/source/l/mozjs68/patches/icu_sources_data-Write-command-output-to-our-stderr.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/l/mozjs68/patches/icu_sources_data-Write-command-output-to-our-stderr.patch (renamed from source/l/mozjs60/patches/icu_sources_data-Write-command-output-to-our-stderr.patch)12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/l/mozjs60/patches/icu_sources_data-Write-command-output-to-our-stderr.patch b/source/l/mozjs68/patches/icu_sources_data-Write-command-output-to-our-stderr.patch
index 19c0cc05d..e2ed48454 100644
--- a/source/l/mozjs60/patches/icu_sources_data-Write-command-output-to-our-stderr.patch
+++ b/source/l/mozjs68/patches/icu_sources_data-Write-command-output-to-our-stderr.patch
@@ -13,22 +13,22 @@ diff --git a/intl/icu_sources_data.py b/intl/icu_sources_data.py
index 8cf9290..7d2d983 100644
--- a/intl/icu_sources_data.py
+++ b/intl/icu_sources_data.py
-@@ -84,16 +84,13 @@ def update_sources(topsrcdir):
-
+@@ -187,16 +187,13 @@
+
def try_run(name, command, cwd=None, **kwargs):
try:
- with tempfile.NamedTemporaryFile(prefix=name, delete=False) as f:
- subprocess.check_call(command, cwd=cwd, stdout=f,
+- stderr=subprocess.STDOUT, **kwargs)
+ subprocess.check_call(command, cwd=cwd, stdout=sys.stderr,
- stderr=subprocess.STDOUT, **kwargs)
++ stderr=subprocess.STDOUT, **kwargs)
except subprocess.CalledProcessError:
- print('''Error running "{}" in directory {}
- See output in {}'''.format(' '.join(command), cwd, f.name),
+- file=sys.stderr)
+ print('''Error running "{}" in directory {}'''.format(' '.join(command), cwd),
- file=sys.stderr)
++ file=sys.stderr)
return False
else:
- os.unlink(f.name)
return True
-
-