Files
termux-packages/packages/lesspipe/lesspipe.sh.patch
termux-actions[bot] 1a075a53f3 packages/lesspipe
2022-03-02 05:49:57 +00:00

12 lines
358 B
Diff

--- a/lesspipe.sh
+++ b/lesspipe.sh
@@ -719,7 +719,7 @@
setopt sh_word_split 2>/dev/null
PATH=$PATH:${0%%/lesspipe.sh}
# the current locale in lowercase (or generic utf-8)
-locale=$(locale|grep LC_CTYPE|sed 's/.*"\(.*\)"/\1/') || locale=en_US.UTF-8
+locale=en_US.UTF-8
lclocale=$(echo ${locale##*.}|tr '[A-Z]' '[a-z]')
sep=: # file name separator