[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: auto-adjusted variables: behaviour changed?



On Tue, Jan 16, 2001 at 01:17:46AM +0100, Remco van den Berg wrote:
> On Tue, Jan 16, 2001 at 01:10:53AM +0100, Remco van den Berg wrote:
> > 
> > psvweb@jupiter > make
> > wml  _src/todolist.phpwml -o todolist.php
> > 
> > But in WML version 2.0.6 I see that my auto-adjusted variables get an extra
> > '../' in front of it. At first I didn't understand it, but I found out that
> > when I place the source files in the current working directory and I run
> > 
> > #> wml todolist.phpwml -o todolist.php
> > 
> > the extra '../' in the auto-adjusted variables is gone. And everything works.
> 
> I saw in the manual an option "--nocd", but it doesn't work.
> 
> Can somebody confirm, that this option should be the solution for my problem?
> 
> But if so, then why isn't it working?

Hi Remco, you are right, this option is what you are looking for.
Unfortunately it seems to be broken (oh damned, i know now why i do not
like changing command line options parsing).

You have to move
   $opt_c = 0;
from line 183 to 171, i.e. with definitions of $opt_r and $opt_v.

-- 
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com