summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorLubos Lunak <l.lunak@suse.cz>2012-12-26 13:27:09 +0100
committerLubos Lunak <l.lunak@suse.cz>2012-12-26 13:56:47 +0100
commit6340adaf8b22cb36ce71a0eecfa066f350cfae7e (patch)
treedfe4749b7345333ad3a086d13821783553e928ba /solenv/bin
parent9f44fe19eb4d9bc668f1325a5dd53c3823c86312 (diff)
LC_ALL=C for consistent sort
Diffstat (limited to 'solenv/bin')
-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/'`