[GRASS-dev] v.report broken when UNITSPARAM is quoted

In v.report r30407, lines 153 and 162, the UNITSPARAM variable became quoted. This makes the script print empty output when no explicit unit is specified, because v.to.db syntax becomes internaly eg.:

v.to.db -p map=tmcz opt=coor col=dummy1,dummy2,dummy3 ''

and the empty single quotes in the end of the string results in an error:

Sorry <> is not a valid option

Anybody minds if I strip the problematic double quotes off?

Maciek

Maciej Sieczka wrote:

In v.report r30407, lines 153 and 162, the UNITSPARAM variable became
quoted. This makes the script print empty output when no explicit unit
is specified, because v.to.db syntax becomes internaly eg.:

v.to.db -p map=tmcz opt=coor col=dummy1,dummy2,dummy3 ''

and the empty single quotes in the end of the string results in an
error:

Sorry <> is not a valid option

Anybody minds if I strip the problematic double quotes off?

ah, sorry about that, fixed in r30864 and r30865 (went ahead and did it
myself as it was my fault & it had been backported with another fix).
thanks for spotting it.

Hamish

      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com