summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-08-03 00:24:29 +0200
committerBruno Haible <bruno@clisp.org>2022-08-03 00:24:29 +0200
commitf88aeeb42a4926bc2f7bcb7758ca511e75404593 (patch)
treeda0bb5187d05f6104b08ee869796d2f4dea4e6d1
parentf9b39c4e337f1dc0dd07c4f3985c476fb875d799 (diff)
downloadgnulib-f88aeeb42a4926bc2f7bcb7758ca511e75404593.tar.gz
gnulib-tool.py: Fix typo.
* pygnulib/GLImport.py (GLImport.__init__): Use the relative auxdir as second, not as first argument of joinpath.
-rw-r--r--ChangeLog6
-rw-r--r--pygnulib/GLImport.py2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 59f595310b..419ea2fbd5 100644
--- 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.
diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py
index 2b16ce0ea4..5009917e76 100644
--- a/pygnulib/GLImport.py
+++ b/pygnulib/GLImport.py
@@ -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: