aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-10-01 15:33:10 +0100
committerMatthew Wild <mwild1@gmail.com>2018-10-01 15:33:10 +0100
commit32a0e9805ad6a3237ac926bb6a0d91dd8202cb58 (patch)
treeaa9eac7b1fd5abbd295d9a06bcfc6554c7c5707b
parentd736a358fe84fec21c99a40155dcb7ff32c20847 (diff)
downloadprosody-32a0e9805ad6a3237ac926bb6a0d91dd8202cb58.tar.gz
prosody-32a0e9805ad6a3237ac926bb6a0d91dd8202cb58.zip
configure: Add shellcheck directives to suppress warnings on harmless lines
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
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