Re: [Module::Build] ./Build on Win98
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2006-02-25 20:57:45
|
On Feb 25, 2006, at 1:32 PM, Randy W. Sims wrote: > Ok, here's the problem. The quoting is wrong in the invokation of > pl2bat. Both arguments to pl2bat got bungled into one misformed > arg. I need to figure out how to invoke pl2bat from the command > line with corrected quoting. The command we're using now, that > produces the bungled last line above is: > > pl2bat -n "-x -S """%0""" --build_bat %*" -o "-x -S """%0""" -- > build_bat %1 %2 %3 %4 %5 %6 %7 %8 %9" < Build > Build.bat > > It looks like it is trying to expand %*" -o "-x -S """% as an > evironment var. Maybe an extra space after %*: > > pl2bat -n "-x -S """%0""" --build_bat %* " -o "-x -S """%0""" -- > build_bat %1 %2 %3 %4 %5 %6 %7 %8 %9 " < Build > Build.bat > > Otherwise, I'm not sure how to quote the percent symbol (%%* > doesn't work). I've posted a message over on alt.msdos.batch about > this. Won't the multi-argument form of system() be helpful here? It's generally much easier to get that to work out than trying to get quoting right. -Ken |