From 537844cb1d9ce3b432c617baa17fd46f911bb848 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 23 Jun 2019 15:43:25 +0200 Subject: Set Computer English language for credits sorting This makes the script a bit more portable when used on systems with different LC_ALL and LANG settings. --- scripts/dev/credits | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/dev') diff --git a/scripts/dev/credits b/scripts/dev/credits index 5197b7bc19..e59cc109b8 100755 --- a/scripts/dev/credits +++ b/scripts/dev/credits @@ -26,8 +26,8 @@ do */ END - # Do not process skeleton # + # Do not process skeleton files=`find "$what" -name CREDITS | grep -v "$what"/skeleton/CREDITS` - awk "$awkprog" $files | sort -f | uniq >> $file + awk "$awkprog" $files | LC_ALL=C sort -f | uniq >> $file echo "Updated $file" done -- cgit v1.2.1