From: Bruno Haible Date: Tue, 2 Aug 2022 22:24:29 +0000 (+0200) Subject: gnulib-tool.py: Fix typo. X-Git-Tag: v1.0~2191 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=f88aeeb42a4926bc2f7bcb7758ca511e75404593;p=gnulib.git gnulib-tool.py: Fix typo. * pygnulib/GLImport.py (GLImport.__init__): Use the relative auxdir as second, not as first argument of joinpath. --- 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: