[GRASS-dev] Scripting programming: directory structure of GRASS
Glynn Clements
glynn at gclements.plus.com
Sat Feb 2 09:42:24 EST 2008
roberto.marzocchi wrote:
> I'm writing a script for Grass.
> I've a problem with the directory structure of GRASS.
>
> I know where is the place of script: ($GISBASE/scripts).
> But my script use some fortran-codes, I compile
> this codes with gfortran, and I don't know where's the correct directory
> for the executable compiled.
If the binary is supposed to be run directly by the user, it should go
into $GISBASE/bin. If it's only supposed to be run from the script, it
should go into $GISBASE/etc, and be inkoked using a full pathname
($GISBASE/etc isn't added to $PATH).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list