From f08c378d5a837ee803c74a4a6b70c84e6e010136 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sat, 16 Jul 2022 03:30:41 -0300 Subject: config.sh.in: fix all issues reported by shellcheck Fix the following error and warnings: $ shellcheck --version | grep ^version: version: 0.8.0 $ shellcheck config.sh.in In config.sh.in line 1: # @configure_input@ ^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. In config.sh.in line 3: NAME=@PACKAGE_NAME@ ^--^ SC2034 (warning): NAME appears unused. Verify use (or export if used externally). In config.sh.in line 4: VERSION=@PACKAGE_VERSION@ ^-----^ SC2034 (warning): VERSION appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y... https://www.shellcheck.net/wiki/SC2034 -- NAME appears unused. Verify use (... Relates to #5140. --- config.sh.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.sh.in') diff --git a/config.sh.in b/config.sh.in index 256879b7c..155f2158e 100644 --- a/config.sh.in +++ b/config.sh.in @@ -1,3 +1,7 @@ # @configure_input@ +# +# shellcheck shell=sh +# shellcheck disable=SC2034 + NAME="@PACKAGE_NAME@" VERSION="@PACKAGE_VERSION@" -- cgit v1.2.3-70-g09d2