« Return to Thread: Translation problems

Re: Translation problems

by Alan Harder-2 :: Rate this Message:

| View in Thread

maybe also wrap the $1 in quotes?  "$1"


Niels Baggesen wrote:

> On Sat, Feb 02, 2008 at 03:47:39PM +0100, Maarten Deen wrote:
>  
>> I've looked into the script and it goes wrong on line 55:
>> if [ $1 != "-all" ] && [ ! test -e ../locale/$2 ] ; then
>>    
>
> That surely looks strange - and more complicated than it has to.
>
> I would write it
>
> if [ $1 != "-all" -a ! -e ../locale/$2 ] ; then
>
> no need to fork out two incanations of test
>
> /Niels
>
>  


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gallery-translations mailing list
Gallery-translations@...
https://lists.sourceforge.net/lists/listinfo/gallery-translations

 « Return to Thread: Translation problems