diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-10-01 15:33:10 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-10-01 15:33:10 +0100 |
commit | 32a0e9805ad6a3237ac926bb6a0d91dd8202cb58 (patch) | |
tree | aa9eac7b1fd5abbd295d9a06bcfc6554c7c5707b | |
parent | d736a358fe84fec21c99a40155dcb7ff32c20847 (diff) | |
download | prosody-32a0e9805ad6a3237ac926bb6a0d91dd8202cb58.tar.gz prosody-32a0e9805ad6a3237ac926bb6a0d91dd8202cb58.zip |
configure: Add shellcheck directives to suppress warnings on harmless lines
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -107,7 +107,8 @@ die() { exit 1 } -case `echo -n x` in +# shellcheck disable=SC2039 +case $(echo -n x) in -n*) echo_n_flag='';; *) echo_n_flag='-n';; esac @@ -130,6 +131,7 @@ do then echo echo '*WARNING*: the "~" sign is not expanded in flags.' + # shellcheck disable=SC2016 echo 'If you mean the home directory, use $HOME instead.' echo fi |