From: Peter Kokot Date: Sun, 23 Jun 2019 13:43:25 +0000 (+0200) Subject: Set Computer English language for credits sorting X-Git-Tag: php-7.4.0alpha3~175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=537844cb1d9ce3b432c617baa17fd46f911bb848;p=php 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. --- 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