Software /
code /
prosody
Changeset
9422:b7aad88c537b
configure: Add shellcheck directives to suppress warnings on harmless lines
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 01 Oct 2018 15:33:10 +0100 |
parents | 9421:03b50f5bd8cd |
children | 9423:d4e8aedc0f82 |
files | configure |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Mon Oct 01 15:32:47 2018 +0100 +++ b/configure Mon Oct 01 15:33:10 2018 +0100 @@ -107,7 +107,8 @@ 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 @@ 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