On Thu, Dec 4, 2008 at 6:46 PM, Mario Giacomello
<[email protected]> wrote:
> Thanks for your prompt response. I have got as far as understanding
> that I should run scripts inside GRASS.So, the answer is "yes- I have
> run the script inside GRASS".

best is to add this before the GRASS commands in the
script:

if  [ -z "$GISBASE" ] ; then
    echo "You must be in GRASS GIS to run this program." >&2
    exit 1
fi

then you are sure...

Markus
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to