aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-02-07 11:46:41 +0000
committerGitHub <noreply@github.com>2021-02-07 11:46:41 +0000
commit8b82ffa9e423558d7644c7135db4114f59537829 (patch)
tree90a326f8e796d4a81e98e0639fe67b6a0459ed08 /mesonbuild/modules/gnome.py
parent8e73e5fe1c4fcd5a875cb4777c7938f9069e0102 (diff)
parentf63e168685c22a749502161355a7ea98a6c5344a (diff)
downloadmeson-8b82ffa9e423558d7644c7135db4114f59537829.zip
meson-8b82ffa9e423558d7644c7135db4114f59537829.tar.gz
meson-8b82ffa9e423558d7644c7135db4114f59537829.tar.bz2
Merge pull request #8305 from xclaesse/run-target-env
run_target: Add env kwarg
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r--mesonbuild/modules/gnome.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index e72944d..f966083 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -956,8 +956,8 @@ class GnomeModule(ExtensionModule):
'--id=' + project_id,
'--sources=' + source_str,
]
- pottarget = build.RunTarget('help-' + project_id + '-pot', potargs[0],
- potargs[1:], [], state.subdir, state.subproject)
+ pottarget = build.RunTarget('help-' + project_id + '-pot', potargs,
+ [], state.subdir, state.subproject)
poargs = state.environment.get_build_command() + [
'--internal', 'yelphelper', 'update-po',
@@ -966,8 +966,8 @@ class GnomeModule(ExtensionModule):
'--sources=' + source_str,
'--langs=' + '@@'.join(langs),
]
- potarget = build.RunTarget('help-' + project_id + '-update-po', poargs[0],
- poargs[1:], [], state.subdir, state.subproject)
+ potarget = build.RunTarget('help-' + project_id + '-update-po', poargs,
+ [], state.subdir, state.subproject)
rv = [inscript, pottarget, potarget]
return ModuleReturnValue(None, rv)