[GRASS-user] problem with r.in.wms
Ivan Shmakov
oneingray at gmail.com
Thu Jun 21 10:37:47 EDT 2007
>>>>> "MK" == Maximilian Krambach <Maximilian.Krambach at gmx.de> writes:
>> Looks like a sh/dash/bash problem? What's the first line of
>> /usr/lib/grass/scripts/r.tileset? E. g.:
>> $ head -n1 /usr/lib/grass/scripts/r.tileset
>> [...]
MK> First line is #!/bin/sh
I guess it needs to be changed to #!/bin/bash (and you're to
have Bash installed, of course.)
MK> 193 is part of
MK> # purpose: lookup values in passed by reference arrays
MK> declare -f LookupP # Function "Pointer"
There's a `declare' command in Bash, but not in POSIX shell, nor
in Dash.
[...]
MK> btw: installation is 6.2.1 from Jachym's ubuntu repository
MK> (les-ejk.cz)
IIRC, Ubuntu uses Dash for /bin/sh by default.
More information about the grass-user
mailing list