aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lodder <[email protected]>2021-02-22 11:52:04 +0100
committerGitHub <[email protected]>2021-02-22 11:52:04 +0100
commit18a55c271c13c669e40aaf7ca8654944c18a8234 (patch)
treebae492cf2bb07f247d741278b78a9b86d2f45264
parentUpdate chainparams.cpp (#1751) (diff)
parentLocale independent sorting (diff)
downloaddiscoin-18a55c271c13c669e40aaf7ca8654944c18a8234.tar.xz
discoin-18a55c271c13c669e40aaf7ca8654944c18a8234.zip
Merge pull request #1638 from patricklodder/1.14.3-locale-sorting
Locale independent sorting
-rwxr-xr-xsrc/leveldb/build_detect_platform2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leveldb/build_detect_platform b/src/leveldb/build_detect_platform
index d7edab1d8..4a200a726 100755
--- a/src/leveldb/build_detect_platform
+++ b/src/leveldb/build_detect_platform
@@ -176,7 +176,7 @@ set -f # temporarily disable globbing so that our patterns aren't expanded
PRUNE_TEST="-name *test*.cc -prune"
PRUNE_BENCH="-name *_bench.cc -prune"
PRUNE_TOOL="-name leveldbutil.cc -prune"
-PORTABLE_FILES=`find $DIRS $PRUNE_TEST -o $PRUNE_BENCH -o $PRUNE_TOOL -o -name '*.cc' -print | sort | sed "s,^$PREFIX/,," | tr "\n" " "`
+PORTABLE_FILES=`find $DIRS $PRUNE_TEST -o $PRUNE_BENCH -o $PRUNE_TOOL -o -name '*.cc' -print | LC_ALL=C sort | sed "s,^$PREFIX/,," | tr "\n" " "`
set +f # re-enable globbing