The ":" to identify a target for the "run" feature must be at the

beginning of the string; it was formerly matched anywhere.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20610 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-04-08 02:21:10 +00:00
parent 4f4e5272fc
commit 315cfc48ca
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ rule RunCommandLine commandLine
local i ;
for i in $(commandLine) {
# targets are marked by the ":" prefix
local target = [ Match :(.*) : $(i) ] ;
local target = [ Match ^:(.*) : $(i) ] ;
if $(target) {
targets += $(target) ;
targetVarName = $(targetVarName)X ;