>From f88aeeb42a4926bc2f7bcb7758ca511e75404593 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 3 Aug 2022 00:24:29 +0200 Subject: [PATCH 01/12] gnulib-tool.py: Fix typo. * pygnulib/GLImport.py (GLImport.__init__): Use the relative auxdir as second, not as first argument of joinpath. --- ChangeLog | 6 ++++++ pygnulib/GLImport.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 59f595310b..419ea2fbd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2022-08-03 Bruno Haible + + 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 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: -- 2.34.1