Skip to content

Commit

Permalink
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.