From: Collin Funk Date: Tue, 19 Mar 2024 19:25:37 +0000 (-0700) Subject: gnulib-tool.py: Fix incorrect assignment operator. X-Git-Tag: v1.0~263 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=ec24c2475b8415ba1e34b3df65aacf8df8fcc0a2;p=gnulib.git gnulib-tool.py: Fix incorrect assignment operator. * pygnulib/GLImport.py (GLImport.actioncmd): Use '+=' instead of '=' to append the string to the actioncmd instead of overwriting it. --- diff --git a/ChangeLog b/ChangeLog index cb1680e72f..55b9d95af3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-03-19 Collin Funk + + gnulib-tool.py: Fix incorrect assignment operator. + * pygnulib/GLImport.py (GLImport.actioncmd): Use '+=' instead of '=' to + append the string to the actioncmd instead of overwriting it. + 2024-03-19 Bruno Haible gnulib-tool: Make it work in the test suite. diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py index 0c268f6b47..ddd5880d3c 100644 --- a/pygnulib/GLImport.py +++ b/pygnulib/GLImport.py @@ -469,7 +469,7 @@ class GLImport(object): actioncmd += ' \\\n# --no-libtool' actioncmd += ' \\\n# --macro-prefix=%s' % macro_prefix if podomain: - actioncmd = ' \\\n# --po-domain=%s' % podomain + actioncmd += ' \\\n# --po-domain=%s' % podomain if witness_c_macro: actioncmd += ' \\\n# --witness-c-macro=%s' % witness_c_macro if vc_files == True: