2010/11/10 Hamish <hamis...@yahoo.com>:
>> try r44284, hopefully fixed.
>
> perhaps buggy:
>
> -    CMDLINE="`basename $0`"
> +    CMDLINE="`basename "$0"`"
>
>
> becomes "`basename " + $0 + "`"
>
> afair the " do not nest.
>
> maybe outer quotes are not needed?
> (but regardless I'm fairly sure this is not the cause of the v.colors bug, 
> just a red herring)

it fixes white spaces in the path, e.g.

basename: extra operand
`(x86)/GRASS-65-SVN/scripts/v.db.addcol'
Try `basename --help' for more information.
C:/Program Files (x86)/GRASS-65-SVN/scripts/v.db.addcol:
line 116: unexpected EOF while looking for matching ``'
C:/Program Files (x86)/GRASS-65-SVN/scripts/v.db.addcol:
line 125: syntax error: unexpected end of file

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to