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
commita0be8f59f5789f9aa5cbbf1757555685064812b5 (patch)
treeaa9eac7b1fd5abbd295d9a06bcfc6554c7c5707b
parent6733f15180f02ed69980a546930e7e20d3558d9c (diff)
downloadprosody-a0be8f59f5789f9aa5cbbf1757555685064812b5.tar.gz
prosody-a0be8f59f5789f9aa5cbbf1757555685064812b5.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