_lp_temp_acpi: guard against any future l10n of 'acpi'

This commit is contained in:
Olivier Mengué 2014-08-19 01:07:35 +02:00
parent 7402f79a75
commit 1c657481fd

View File

@ -1380,7 +1380,7 @@ _lp_temp_sensors()
_lp_temp_acpi()
{
local i
for i in $(acpi -t | sed 's/.* \(-\?[0-9]*\)\.[0-9]* degrees C$/\1/p'); do
for i in $(LANG=C acpi -t | sed 's/.* \(-\?[0-9]*\)\.[0-9]* degrees C$/\1/p'); do
[[ $i -gt $temperature ]] && temperature=$i
done
}