From 658341783f6562cc44e0fde7f2966d9505575a45 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 6 Aug 2018 09:04:36 +1200 Subject: Add explicit LC_COLLATE settings to plmu(1df) This prevents it getting upset if the sorting for the ignore list used a different collation. --- bin/plmu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/plmu.sh b/bin/plmu.sh index 78778920..06d5ce1d 100644 --- a/bin/plmu.sh +++ b/bin/plmu.sh @@ -12,10 +12,10 @@ fi # Get the list of modules; sort them in case our current locale disagrees on # the existing sorting -plenv list-modules | sort | +plenv list-modules | LC_COLLATE=C sort | # Exclude any modules in ~/.plenv/non-cpanm-modules if it exists -comm -23 -- - "$ef" | +LC_COLLATE=C comm -23 -- - "$ef" | # Read that list of modules to upgrade and upgrade them one by one while read -r module ; do -- cgit v1.2.3