]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Fix incorrect assignment operator.
authorCollin Funk <collin.funk1@gmail.com>
Tue, 19 Mar 2024 19:25:37 +0000 (12:25 -0700)
committerBruno Haible <bruno@clisp.org>
Tue, 19 Mar 2024 23:42:58 +0000 (00:42 +0100)
* pygnulib/GLImport.py (GLImport.actioncmd): Use '+=' instead of '=' to
append the string to the actioncmd instead of overwriting it.

ChangeLog
pygnulib/GLImport.py

index cb1680e72fbb5d4eaf45f3189bf7bb407c1e5aee..55b9d95af35a6faeeb77c1ae47b88be2c460ff61 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-03-19  Collin Funk  <collin.funk1@gmail.com>
+
+       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  <bruno@clisp.org>
 
        gnulib-tool: Make it work in the test suite.
index 0c268f6b473b9b668068a0cff0404664158e0a2d..ddd5880d3c927cc025be8d0a4b688d6b79b923c0 100644 (file)
@@ -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: