1
0
mirror of https://github.com/jaygooby/ttfb.sh synced 2025-12-10 07:57:21 +01:00

Silence the locale check

This commit is contained in:
Jay Caines-Gooby
2020-06-29 16:43:51 +01:00
parent 918d0cfd41
commit 07bfb15adf

2
ttfb
View File

@@ -67,7 +67,7 @@ done
# Ensure curl uses period separators for floating point values, which # Ensure curl uses period separators for floating point values, which
# bc requires to do calculations (i.e. it can't use locale separators like ,) # bc requires to do calculations (i.e. it can't use locale separators like ,)
if (locale -a | egrep ^C.UTF-8$); then if (locale -a | egrep ^C.UTF-8$ > /dev/null); then
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
else else
export LC_ALL=C export LC_ALL=C