summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-05-10 21:24:38 +0800
committerruki <[email protected]>2025-05-10 21:24:38 +0800
commitd679f86a8f78e8b8c172bdd8d050f0bb72f69864 (patch)
treeb4bade327dcbe46bf88e0aea7b6b4fc52a0bd3a6
parent5e8108b5b9eb58e4e2e38c3015ea46fc1d4c2c72 (diff)
update xmake.sh
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 11193d75c..f15d99164 100755
--- a/configure
+++ b/configure
@@ -243,9 +243,9 @@ _os_find() {
local name="${2}"
local depth="${3}"
if test_nz "${depth}"; then
- _ret=$(find "${dir}" -maxdepth "${depth}" -mindepth "${depth}" -type f -name "${name}")
+ _ret=$(find "${dir}" -maxdepth "${depth}" -mindepth "${depth}" -type f -name "${name}" | LC_ALL=C sort)
else
- _ret=$(find "${dir}" -type f -name "${name}")
+ _ret=$(find "${dir}" -type f -name "${name}" | LC_ALL=C sort)
fi
}