0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-06 02:26:34 +00:00
termux-packages/packages/lesspipe/lesspipe.sh.patch
2024-12-22 23:58:17 +05:30

12 lines
337 B
Diff

--- a/lesspipe.sh
+++ b/lesspipe.sh
@@ -841,7 +841,7 @@
setopt sh_word_split 2>/dev/null
PATH=$PATH:${0%%/lesspipe.sh}
# the current locale in lowercase (or generic utf-8)
-charmap=$(locale -k charmap|tr '[:upper:]' '[:lower:]') || charmap="charmap=utf-8"
+charmap="charmap=utf-8"
eval "$charmap"
sep=: # file name separator