From a0be8f59f5789f9aa5cbbf1757555685064812b5 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 1 Oct 2018 15:33:10 +0100 Subject: configure: Add shellcheck directives to suppress warnings on harmless lines --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 866faeb1..03e70c3f 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3