summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2016-05-12 17:24:06 +0000
committerrubidium <rubidium@openttd.org>2016-05-12 17:24:06 +0000
commit7ef304da463988728bc4fb0d777d20be5aa73bbf (patch)
tree386dbf97fbbbd0c2bf5730fd1994ff75546c8d6e
parent576005b714c4766fa23d3563877102455d01379a (diff)
downloadopenttd-7ef304da463988728bc4fb0d777d20be5aa73bbf.tar.xz
(svn r27562) -Fix: forgot one (hidden) case to force sorting to be locale independent
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6b2c9d87b..5edbca186 100755
--- a/configure
+++ b/configure
@@ -149,7 +149,7 @@ AWKCOMMAND='
# Read the source.list and process it
# Please escape ALL " within ` because e.g. "" terminates the string in some sh implementations
-SRCS="`< $ROOT_DIR/source.list tr '\r' '\n' | $awk \"$AWKCOMMAND\" | $PIPE_SORT`"
+SRCS="`< $ROOT_DIR/source.list tr '\r' '\n' | $awk \"$AWKCOMMAND\" | LC_ALL=C $PIPE_SORT`"
OBJS_C="` echo \"$SRCS\" | $awk ' { ORS = \" \" } /\.c$/ { gsub(\".c$\", \".o\", $0); print $0; }'`"
OBJS_CPP="`echo \"$SRCS\" | $awk ' { ORS = \" \" } /\.cpp$/ { gsub(\".cpp$\", \".o\", $0); print $0; }'`"