aboutsummaryrefslogtreecommitdiffstats
path: root/config.sh.in
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-07-16 03:30:41 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-08-01 20:33:10 -0300
commitf08c378d5a837ee803c74a4a6b70c84e6e010136 (patch)
treeeab8f8d8bface74c54b8df2f4a7fbd2e49a6dec1 /config.sh.in
parentconfig.sh.in: quote all variables (diff)
downloadfirejail-f08c378d5a837ee803c74a4a6b70c84e6e010136.tar.gz
firejail-f08c378d5a837ee803c74a4a6b70c84e6e010136.tar.zst
firejail-f08c378d5a837ee803c74a4a6b70c84e6e010136.zip
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.
Diffstat (limited to 'config.sh.in')
-rw-r--r--config.sh.in4
1 files changed, 4 insertions, 0 deletions
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 @@
1# @configure_input@ 1# @configure_input@
2#
3# shellcheck shell=sh
4# shellcheck disable=SC2034
5
2NAME="@PACKAGE_NAME@" 6NAME="@PACKAGE_NAME@"
3VERSION="@PACKAGE_VERSION@" 7VERSION="@PACKAGE_VERSION@"