mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 17:47:09 +00:00
30 lines
380 B
Bash
Executable File
30 lines
380 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
llvm_version_suffixes=(
|
|
""
|
|
-15
|
|
150
|
|
-14
|
|
140
|
|
-13
|
|
130
|
|
-12
|
|
120
|
|
-11
|
|
110
|
|
100
|
|
-10
|
|
90
|
|
-9
|
|
)
|
|
|
|
for suffix in "${llvm_version_suffixes[@]}"; do
|
|
llvm_cov_test="llvm-cov${suffix}"
|
|
if hash $llvm_cov_test 2>/dev/null; then
|
|
llvm_cov=$llvm_cov_test
|
|
break
|
|
fi
|
|
done
|
|
|
|
exec $llvm_cov gcov "$@"
|