kiss: Force C locale

This commit is contained in:
Dylan Araps 2020-03-26 12:21:57 +02:00
parent 1f9ab42fd6
commit be5d87b3ff
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

5
kiss
View File

@ -1283,6 +1283,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