diff options
-rw-r--r-- | mesonbuild/scripts/gettext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/scripts/gettext.py b/mesonbuild/scripts/gettext.py index 593247a..f5c0421 100644 --- a/mesonbuild/scripts/gettext.py +++ b/mesonbuild/scripts/gettext.py @@ -44,9 +44,9 @@ def read_linguas(src_sub): return [] def run_potgen(src_sub, pkgname, datadirs, args): - listfile = os.path.join(src_sub, 'POTFILES') + listfile = os.path.join(src_sub, 'POTFILES.in') if not os.path.exists(listfile): - listfile = os.path.join(src_sub, 'POTFILES.in') + listfile = os.path.join(src_sub, 'POTFILES') if not os.path.exists(listfile): print('Could not find file POTFILES in %s' % src_sub) return 1 |