modules/i18n: fix gettext use of --datadirs param
The previous commit bd2fcb268b
accidentally used the wrong var so the param name was missing,
leading to an error of "unrecognized arguments" for the
datadirs parameter value.
This commit is contained in:
parent
7825a6f2ca
commit
3c2cca5699
|
@ -245,7 +245,7 @@ class I18nModule(ExtensionModule):
|
|||
|
||||
potargs = state.environment.get_build_command() + ['--internal', 'gettext', 'pot', pkg_arg]
|
||||
if datadirs:
|
||||
potargs.append(_datadirs)
|
||||
potargs.append(datadirs)
|
||||
if extra_arg:
|
||||
potargs.append(extra_arg)
|
||||
pottarget = build.RunTarget(packagename + '-pot', potargs, [], state.subdir, state.subproject)
|
||||
|
|
Loading…
Reference in New Issue