From eb1cf7c15ab175c7195113bdf596e565a0709027 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sun, 22 Dec 2024 12:31:18 +0300 Subject: [PATCH] base.sh: fix national decimal separator --- common/base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/base.sh b/common/base.sh index 0be2614..a425140 100644 --- a/common/base.sh +++ b/common/base.sh @@ -241,7 +241,7 @@ fix_sbin_path() # it can calculate floating point expr calc() { - awk "BEGIN { print $*}"; + LC_ALL=C awk "BEGIN { print $*}"; } fsleep_setup()