[PATCH -perfbook 7/7] precheck.sh: Export LC_TIME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The check script doesn't work properly under non-English locale
settings due to missing "export".

Fix it.

Fixes: 0c852f175f8e ("Add precheck.sh")
Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 utilities/precheck.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utilities/precheck.sh b/utilities/precheck.sh
index 7de0e9fba328..d98bb0de90ce 100755
--- a/utilities/precheck.sh
+++ b/utilities/precheck.sh
@@ -6,7 +6,7 @@
 #
 # Copyright (C) Akira Yokosawa, 2023
 
-LC_TIME=C
+export LC_TIME=C
 
 : ${SED:=sed}
 : ${DATE:=date}
-- 
2.25.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux