aboutsummaryrefslogtreecommitdiff
path: root/bin/plmu.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-23 09:18:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-23 09:18:48 +1200
commitfd7ba721439e7e8643ff6d2bc0343d981fb4ebea (patch)
tree807829f36b16ecfb6d40ddf6c02e2edc3b32781e /bin/plmu.sh
parent389158a68b4b6453fd7ab44945a41c4ae55c55fd (diff)
downloaddotfiles-fd7ba721439e7e8643ff6d2bc0343d981fb4ebea.tar.gz
dotfiles-fd7ba721439e7e8643ff6d2bc0343d981fb4ebea.zip
Add collation locale def for plmu(1df) sort check
Diffstat (limited to 'bin/plmu.sh')
-rw-r--r--bin/plmu.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/plmu.sh b/bin/plmu.sh
index 06d5ce1d..5c599828 100644
--- a/bin/plmu.sh
+++ b/bin/plmu.sh
@@ -5,7 +5,7 @@ ef=$HOME/.plenv/non-cpanm-modules
[ -e "$ef" ] || ef=/dev/null
# Check that exceptions file is sorted
-if ! sort -c -- "$ef" ; then
+if ! LC_COLLATE=C sort -c -- "$ef" ; then
printf >&2 '%s not sorted\n' "$ef"
exit 1
fi