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 | a0be8f59f5789f9aa5cbbf1757555685064812b5 (patch) | |
tree | aa9eac7b1fd5abbd295d9a06bcfc6554c7c5707b | |
parent | 6733f15180f02ed69980a546930e7e20d3558d9c (diff) | |
download | prosody-a0be8f59f5789f9aa5cbbf1757555685064812b5.tar.gz prosody-a0be8f59f5789f9aa5cbbf1757555685064812b5.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 |