aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-02 11:30:49 +0000
committermerakor <cem@ckyln.com>2020-04-02 11:30:49 +0000
commit61f1caafc6a388de055bbb56f26f605660e8eebc (patch)
tree57e0b1eb890b2faa858b3a08bd97355134d13e09 /kiss
parent3bb870716b8388d268fc2f63d058bf3535e54692 (diff)
downloadcpt-61f1caafc6a388de055bbb56f26f605660e8eebc.tar.gz
kiss: Force C locale
FossilOrigin-Name: 96d27afd0731eba77f04a84b75063fd12b8da4c833743d57e112eb58aabf1578
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss5
1 files changed, 5 insertions, 0 deletions
diff --git a/kiss b/kiss
index be4331a..7bb055c 100755
--- a/kiss
+++ b/kiss
@@ -1342,6 +1342,11 @@ main() {
# variable is ever changed.
old_ifs=$IFS
+ # Force the C locale to speed up things like 'grep' which disable unicode
+ # etc when this is set. We don't need unicode and a speed up is always
+ # welcome.
+ export LC_ALL=C LANG=C
+
# Catch errors and ensure that build files and directories are cleaned
# up before we die. This occurs on 'Ctrl+C' as well as success and error.
trap pkg_clean EXIT INT