# HG changeset patch # User Matthew Wild # Date 1538404390 -3600 # Node ID b7aad88c537b18f26223a39aa06e30f817045c19 # Parent 03b50f5bd8cd75d2a57f625dc0fb2afbca83f667 configure: Add shellcheck directives to suppress warnings on harmless lines diff -r 03b50f5bd8cd -r b7aad88c537b configure --- 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