From 51c889ddbc8e83a73ef4d1f2556609bae2a046ce Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 13 Dec 2022 21:16:14 -0500 Subject: depfixer: don't extract MANIFEST.MF verbosely Avoids non-actionable output when installing a jar: inflated: META-INF/MANIFEST.MF Fixes: c70a051e93 ("java: remove manifest classpath from installed jar") --- mesonbuild/scripts/depfixer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/scripts/depfixer.py b/mesonbuild/scripts/depfixer.py index 17432c1..702afeb 100644 --- a/mesonbuild/scripts/depfixer.py +++ b/mesonbuild/scripts/depfixer.py @@ -457,7 +457,7 @@ def fix_darwin(fname: str, new_rpath: str, final_path: str, install_name_mapping raise SystemExit(err) def fix_jar(fname: str) -> None: - subprocess.check_call(['jar', 'xfv', fname, 'META-INF/MANIFEST.MF']) + subprocess.check_call(['jar', 'xf', fname, 'META-INF/MANIFEST.MF']) with open('META-INF/MANIFEST.MF', 'r+', encoding='utf-8') as f: lines = f.readlines() f.seek(0) -- cgit v1.1