RE: [SMARTY] Smarty creating bad directory
| From: | Rod Kreisler | Date: | Thu, 23 Jan 2003 17:25:31 +0000 |
| Subject: | RE: [SMARTY] Smarty creating bad directory | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7313@lists.php.net to get a copy of this message | ||
Well, these are all really interesting, but have nothing to do with the real
problem.
> -----Original Message-----
> From: Travis Low [mailto:travis@dawnstar.org]
> Sent: Thursday, January 23, 2003 12:21 PM
> To: M Mohr
> Cc: Rod Kreisler; Smarty (E-mail)
> Subject: Re: [SMARTY] Smarty creating bad directory
>
>
> You can also do
>
> $ rm ./-11
>
> T
>
> M Mohr wrote:
> > On Thu, Jan 23, 2003 at 11:59:15AM -0500, Rod Kreisler wrote:
> >
> >>In templates_c Smarty is creating the directory "-11"
> >>
> >>Obviously this is an illegal name. Unfortunately, when I change the
> >>template, it is ignored and the compiled version is still run.
> I'm assuming
> >>that this is because of the illegal directory name. Even with
> >>compile_check=false this still occurs.
> >>
> >>I was able to get around the problem by rm templates_c and recreating it
> >>(rm -11 obviously wouldn't work, but neither would rm "-11").
> >
> >
> > $ rm -- -11
> >
> > -- stops rm from parsing any further options.
> >
> > have fun
> > messju
> >
> >
> >>Rod
> >>
> >>
> >>--
> >>Smarty General Mailing List (http://smarty.php.net/)
> >>To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> Travis Low
> <mailto:travis@dawnstar.org>
> <http://dawnstar.org/travis>
>
>
>