[i18n] translate.php errors

Jan Schneider jan@horde.org
Tue, 6 Aug 2002 12:22:30 +0200


Zitat von Miroslav Pendev <miro@cybershade.us>:

> On Tue, Aug 06, 2002 at 01:58:54AM +0200, Jan Schneider wrote:
> > Zitat von Miroslav Pendev <miro@cybershade.us>:
> > 
> > > find .. -name po -type d -maxdepth 2 | sed -e 's;/\?po$;;'
> > > Found directories:
> > > ../imp/po
> > > ../kronolith/po
> > > ../passwd/po
> > > ../po
> > > ../turba/po
> > 
> > Doh, what's wrong with your sed? Does anybody know if FreeBSD's sed has
> any
> > problems with this syntax?
> > 
> > Jan.
> > 
> 
> YES! That did it, sed must be without '?' on line 720 of
> translation.php!!!
> 
> Compedium seem to be OK too...

Hm, it's been there for a reason. If only I could remember why...
Anyway, we should always have slash in the paths so the ? isn't really
necessary here.

Fixed in cvs, thanks.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft