From 1c657481fd3481720b54187f9aa464df0e62a3f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Tue, 19 Aug 2014 01:07:35 +0200 Subject: [PATCH] _lp_temp_acpi: guard against any future l10n of 'acpi' --- liquidprompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidprompt b/liquidprompt index b9c500b..694bce5 100755 --- a/liquidprompt +++ b/liquidprompt @@ -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 }