Comparison

configure @ 11966:4c5087ce3c2e

configure: Silence warning about echo -n [shellcheck] Seems SC2039 has been replaced, so should be phased out.
author Kim Alvefur <zash@zash.se>
date Mon, 29 Nov 2021 17:40:40 +0100
parent 11965:5e3aee9b6adc
child 12570:e6f68b6c87e1
child 12825:ee5fcfef5200
comparison
equal deleted inserted replaced
11965:5e3aee9b6adc 11966:4c5087ce3c2e
106 echo "configure failed." 106 echo "configure failed."
107 echo 107 echo
108 exit 1 108 exit 1
109 } 109 }
110 110
111 # shellcheck disable=SC2039 111 # COMPAT SC2039 has been phased out, remove in the future
112 # shellcheck disable=SC2039,SC3037
112 case $(echo -n x) in 113 case $(echo -n x) in
113 -n*) echo_n_flag='';; 114 -n*) echo_n_flag='';;
114 *) echo_n_flag='-n';; 115 *) echo_n_flag='-n';;
115 esac 116 esac
116 117