aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-11-29 17:40:40 +0100
committerKim Alvefur <zash@zash.se>2021-11-29 17:40:40 +0100
commit0edc44c2cc8e2788e27cce6227134f7883bcc2a8 (patch)
tree3b6443489451213ee14bc8ed0a09aa4b75f79af3
parent5a3d8dcb87b45981e1d6687d10deb4fe0a717048 (diff)
downloadprosody-0edc44c2cc8e2788e27cce6227134f7883bcc2a8.tar.gz
prosody-0edc44c2cc8e2788e27cce6227134f7883bcc2a8.zip
configure: Silence warning about echo -n [shellcheck]
Seems SC2039 has been replaced, so should be phased out.
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 3c271e5c..784d7339 100755
--- a/configure
+++ b/configure
@@ -108,7 +108,8 @@ die() {
exit 1
}
-# shellcheck disable=SC2039
+# COMPAT SC2039 has been phased out, remove in the future
+# shellcheck disable=SC2039,SC3037
case $(echo -n x) in
-n*) echo_n_flag='';;
*) echo_n_flag='-n';;