Bug 912971 - Strip ./ from targets given to pymake on the command line. r=ted

This commit is contained in:
Mike Hommey 2013-09-06 09:21:04 +09:00
parent 36fc0ca54c
commit 3aee57b087
2 changed files with 6 additions and 1 deletions

View File

@ -93,7 +93,7 @@ def parsecommandlineargs(args):
value=val, valueloc=Location('<command-line>', i, len(vname) + len(t)),
targetexp=None, source=data.Variables.SOURCE_COMMANDLINE))
else:
r.append(a)
r.append(data.stripdotslash(a))
return stmts, r, ' '.join(overrides)

View File

@ -0,0 +1,5 @@
all:
$(MAKE) -f $(TESTPATH)/cmd-stripdotslash.mk ./foo
./foo:
@echo TEST-PASS