summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsolenv/bin/update_pch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/update_pch.sh b/solenv/bin/update_pch.sh
index 693aee6ac1e0..f89bfb2aa02e 100755
--- a/solenv/bin/update_pch.sh
+++ b/solenv/bin/update_pch.sh
@@ -103,7 +103,7 @@ function filter_ignore()
)
# " in #include "foo" breaks echo down below, so " -> @
- cat $tmpfile | sort -u | filter_ignore | sed 's/"/@/g' | \
+ cat $tmpfile | LC_ALL=C sort -u | filter_ignore | sed 's/"/@/g' | \
(
while read line; do
file=`echo $line | sed 's/.*[<"@]\([^>"@]*\)[>"@].*/\1/'`