]> granicus.if.org Git - php/commitdiff
Set Computer English language for credits sorting
authorPeter Kokot <peterkokot@gmail.com>
Sun, 23 Jun 2019 13:43:25 +0000 (15:43 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Wed, 26 Jun 2019 20:35:55 +0000 (22:35 +0200)
This makes the script a bit more portable when used on systems with
different LC_ALL and LANG settings.

scripts/dev/credits

index 5197b7bc19ce0bf10800ac7e715f2aa5774ff2d6..e59cc109b88d728252a605f951770f41c7a5c0cf 100755 (executable)
@@ -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