Skip to content

Commit

Permalink
Quote path to clang (#241)
Browse files Browse the repository at this point in the history
This is mainly for Windows as clang there is installed in "Program Files" (usually)
  • Loading branch information
hia3 authored and grafikrobot committed Sep 26, 2017

Unverified

This user has not yet uploaded their public signing key.
1 parent bf2acd4 commit c442d64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/clang-linux.jam
Original file line number Diff line number Diff line change
@@ -49,9 +49,9 @@ rule init ( version ? : command * : options * ) {
: $(command) ] ;

# Determine the version
local command-string = $(command:J=" ") ;

if $(command) {
local command-string = \"$(command)\" ;
command-string = $(command-string:J=" ") ;
version ?= [ MATCH "version ([0-9.]+)"
: [ SHELL "$(command-string) --version" ] ] ;
}

0 comments on commit c442d64

Please sign in to comment.