Skip to content

Commit

Permalink
Make generate_system_module_map.sh more deterministic
Browse files Browse the repository at this point in the history
Closes #19400.

PiperOrigin-RevId: 563109921
Change-Id: Ieca444d898d30a10dea9af6b4d8623b8fdb93a68
  • Loading branch information
BoleynSu authored and Copybara-Service committed Sep 6, 2023
1 parent fa0ff49 commit 78f98e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cpp/generate_system_module_map.sh
Expand Up @@ -18,7 +18,7 @@ set -eu
echo 'module "crosstool" [system] {'

for dir in $@; do
find -L "${dir}" -type f 2>/dev/null | sort | uniq | while read header; do
find -L "${dir}" -type f 2>/dev/null | LANG=C sort | uniq | while read header; do
echo " textual header \"${header}\""
done
done
Expand Down

0 comments on commit 78f98e7

Please sign in to comment.