]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Fix typo.
authorBruno Haible <bruno@clisp.org>
Tue, 2 Aug 2022 22:24:29 +0000 (00:24 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 2 Aug 2022 22:24:29 +0000 (00:24 +0200)
* pygnulib/GLImport.py (GLImport.__init__): Use the relative auxdir as
second, not as first argument of joinpath.

ChangeLog
pygnulib/GLImport.py

index 59f595310b9fb5118e8c7428a991c17b68689900..419ea2fbd5e346fccc7f078da940c6972cb45a16 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-08-03  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool.py: Fix typo.
+       * pygnulib/GLImport.py (GLImport.__init__): Use the relative auxdir as
+       second, not as first argument of joinpath.
+
 2022-07-31  Bruno Haible  <bruno@clisp.org>
 
        gnulib-tool.py: Fix typo.
index 2b16ce0ea4c1a7a2a0fd3c39d3177bc6df955945..5009917e7666ce81b63fbddbe5a0775739c52188 100644 (file)
@@ -102,7 +102,7 @@ class GLImport(object):
         match = pattern.findall(data)
         if match:
             result = cleaner(match)[0]
-            self.cache.setAuxDir(joinpath(result, self.config['destdir']))
+            self.cache.setAuxDir(joinpath(self.config['destdir'], result))
         pattern = compiler(r'A[CM]_PROG_LIBTOOL', re.S | re.M)
         guessed_libtool = bool(pattern.findall(data))
         if self.config['auxdir'] == None: