Diff

configure @ 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
parent 9421:03b50f5bd8cd
child 9424:3409d617dcd3
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