aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-06 09:04:36 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-06 09:04:36 +1200
commit658341783f6562cc44e0fde7f2966d9505575a45 (patch)
treefaaa21f8bd522dba8339e6272fa4fc6a543086f0
parent632285565e177ae1c0e980b31c3340b8172b1a30 (diff)
downloaddotfiles-658341783f6562cc44e0fde7f2966d9505575a45.tar.gz
dotfiles-658341783f6562cc44e0fde7f2966d9505575a45.zip
Add explicit LC_COLLATE settings to plmu(1df)
This prevents it getting upset if the sorting for the ignore list used a different collation.
-rw-r--r--bin/plmu.sh4
1 files 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