diff options
author | Bruno Haible <bruno@clisp.org> | 2022-07-23 13:31:20 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-07-23 13:31:20 +0200 |
commit | 27957b76186707575ae38f5fc515629c40cbfaaa (patch) | |
tree | ddc13d390ff2c87941c7ab7e5cd02fa5dd51dcbc /build-aux/declared.sh | |
parent | 82942a6e8382836b0feaa81d6fec046cd622a7c1 (diff) | |
download | gnulib-27957b76186707575ae38f5fc515629c40cbfaaa.tar.gz |
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.
Diffstat (limited to 'build-aux/declared.sh')
-rwxr-xr-x | build-aux/declared.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/declared.sh b/build-aux/declared.sh index 5a6a6793a7..b721f7e992 100755 --- a/build-aux/declared.sh +++ b/build-aux/declared.sh @@ -75,7 +75,7 @@ while test $# -gt 0; do -- ) # Stop option processing shift; break ;; -* ) - func_fatal_error "unrecognized option: $option" + func_fatal_error "unrecognized option: $1" ;; * ) break ;; |