mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 20:54:26 +08:00
Force sort locale in check-supported-tools-tables
Otherwise it reports that the list isn't sorted properly if user's LANG is different.
This commit is contained in:
@@ -42,7 +42,7 @@ done < <(
|
||||
exit_code=0
|
||||
|
||||
# Sort the tools ignoring case, and complain when things are out of order.
|
||||
sort -f -k1,2 "$doc_file" -o "$doc_sorted_file"
|
||||
LC_ALL=en_US.UTF-8 sort -f -k1,2 "$doc_file" -o "$doc_sorted_file"
|
||||
|
||||
diff -U0 "$doc_sorted_file" "$doc_file" || exit_code=$?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user