From afb5184ec900ece9dc078b6b822233fa80576efd Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sun, 6 Dec 2020 17:52:20 +0000 Subject: Respect MESON_INSTALL_QUIET in gettext.py Fixes #8068. --- mesonbuild/scripts/gettext.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mesonbuild/scripts/gettext.py b/mesonbuild/scripts/gettext.py index 547d14f..64c228b 100644 --- a/mesonbuild/scripts/gettext.py +++ b/mesonbuild/scripts/gettext.py @@ -86,7 +86,8 @@ def do_install(src_sub: str, bld_sub: str, dest: str, pkgname: str, langs: T.Lis os.makedirs(os.path.dirname(outfile), exist_ok=True) shutil.copy2(srcfile, tempfile) os.replace(tempfile, outfile) - print('Installing %s to %s' % (srcfile, outfile)) + if not os.getenv('MESON_INSTALL_QUIET', False): + print('Installing %s to %s' % (srcfile, outfile)) return 0 def run(args: T.List[str]) -> int: -- cgit v1.1