Respect MESON_INSTALL_QUIET in gettext.py

Fixes #8068.
pull/8088/head
Daan De Meyer 4 years ago committed by Jussi Pakkanen
parent 0efcb0be5f
commit afb5184ec9
  1. 1
      mesonbuild/scripts/gettext.py

@ -86,6 +86,7 @@ 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)
if not os.getenv('MESON_INSTALL_QUIET', False):
print('Installing %s to %s' % (srcfile, outfile))
return 0

Loading…
Cancel
Save