Skip to content

Commit

Permalink
polish: Quote entire argument instead of just variable expansions
Browse files Browse the repository at this point in the history
Co-authored-by: Oleh Prypin <[email protected]>
  • Loading branch information
straight-shoota and oprypin authored Nov 8, 2024
1 parent b5970e8 commit 614183b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llvm/ext/find-llvm-config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if ! LLVM_CONFIG=$(command -v "$LLVM_CONFIG"); then
([ "${llvm_config_version#"$version"}" != "$llvm_config_version" ] && command -v llvm-config) || \
command -v llvm-config-"${version%.*}" || \
command -v llvm-config-"$version" || \
command -v llvm-config"${version%.*}""${version#*.}" || \
command -v "llvm-config${version%.*}${version#*.}" || \
command -v llvm-config"${version%.*}" || \
command -v llvm-config"$version" || \
command -v llvm"${version%.*}"-config)
Expand Down

0 comments on commit 614183b

Please sign in to comment.