From 0edc44c2cc8e2788e27cce6227134f7883bcc2a8 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 29 Nov 2021 17:40:40 +0100 Subject: configure: Silence warning about echo -n [shellcheck] Seems SC2039 has been replaced, so should be phased out. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') 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';; -- cgit v1.2.3