mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
configure: Silence warning about echo -n [shellcheck]
Seems SC2039 has been replaced, so should be phased out.
This commit is contained in:
parent
5a3d8dcb87
commit
0edc44c2cc
1 changed files with 2 additions and 1 deletions
3
configure
vendored
3
configure
vendored
|
@ -108,7 +108,8 @@ die() {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck disable=SC2039
|
# COMPAT SC2039 has been phased out, remove in the future
|
||||||
|
# shellcheck disable=SC2039,SC3037
|
||||||
case $(echo -n x) in
|
case $(echo -n x) in
|
||||||
-n*) echo_n_flag='';;
|
-n*) echo_n_flag='';;
|
||||||
*) echo_n_flag='-n';;
|
*) echo_n_flag='-n';;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue