Commit 29cdbbd6 authored by Erik Karlsson's avatar Erik Karlsson Committed by Yalu Zhang
Browse files

asterisk: use correct ranges with tr

The tr command does not take regular expressions and should not be
used with ranges such as [a-z] which furthermore can cause issues if
unquoted as they are interpreted by the shell.
parent ef1429ad
......@@ -1844,7 +1844,7 @@ configure_logger() {
configure_indications() {
config_get country tel_options country
country_code=$(echo $country | tr [A-Z] [a-z])
country_code=$(echo $country | tr 'A-Z' 'a-z')
sed -i "s/^country=.*/country=${country_code}/g" $WORK_DIR/indications.conf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment