Skip to content

Commit e30815f

Browse files
EmilienMottetbarisione
authored andcommitted
add path for gentoo
1 parent b91b38f commit e30815f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apply-format

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ if [ "$whole_file" = false ]; then
213213
paths_to_try+=( \
214214
/usr/share/clang/clang-format-diff.py \
215215
)
216+
# Gentoo.
217+
while read -r f; do
218+
paths_to_try+=("$f")
219+
done < <(compgen -G "/usr/lib/llvm/*/share/clang/clang-format-diff.py" | sort -n -r)
216220
# Homebrew.
217221
while read -r f; do
218222
paths_to_try+=("$f")

0 commit comments

Comments
 (0)