[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix a couple of ShellCheck warnings
From: |
Jim Meyering |
Subject: |
Re: Fix a couple of ShellCheck warnings |
Date: |
Sat, 23 Jul 2022 22:28:15 -0700 |
On Sat, Jul 23, 2022 at 1:57 PM Bruno Haible <bruno@clisp.org> wrote:
> The other issues reported by ShellCheck are pretty harmless. Still, fixing
> some of them can improve security or code clarity.
>
> 2022-07-23 Bruno Haible <bruno@clisp.org>
>
> Fix a couple of ShellCheck warnings.
> * MODULES.html.sh (sed_escape_slash): Remove unused variable.
> * build-aux/bootstrap: Avoid computed printf format strings.
> * build-aux/do-release-commit-and-tag: Likewise.
> * build-aux/gendocs.sh: Likewise.
> * build-aux/declared.sh: Fix "unrecognized option" message.
> * gnulib-tool (supplied_opts): Remove unused variable.
> (--single-con): Remove redundant option recognition.
> * tests/test-parse-duration.sh (nl): Remove unused variable.
> * tests/test-update-copyright.sh: Use double-quotes instead of
> single-quotes.
Thanks for all the fixes and cleanup!