From fd7ba721439e7e8643ff6d2bc0343d981fb4ebea Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 23 Aug 2018 09:18:48 +1200 Subject: Add collation locale def for plmu(1df) sort check --- bin/plmu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/plmu.sh') 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 -- cgit v1.2.3