[GRASS-dev] Re: [GRASS GIS] #1178: WinGrass: g.extension - problem
with path to $GISBASE
GRASS GIS
trac at osgeo.org
Tue Oct 26 06:09:03 EDT 2010
#1178: WinGrass: g.extension - problem with path to $GISBASE
---------------------------------------------------------------+------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: Installation | Version: svn-releasebranch64
Keywords: wingrass, g.extension, path, installation, addons | Platform: MSWindows Vista
Cpu: x86-32 |
---------------------------------------------------------------+------------
Comment(by hellik):
Replying to [comment:19 hamish]:
> Should we (can we?) rewrite that file each time at program startup to
reflect the current shortname version of the path?
>
a possible example from the osgeo4w-commandline-starting-script for
getting dynamically the current path:
{{{
@echo off
rem Root OSGEO4W home dir to the same directory this script exists in
set OSGEO4W_ROOT=%~dp0
rem Remove trailing backslash
set OSGEO4W_ROOT=%OSGEO4W_ROOT:~0,-1%
}}}
Helmut
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1178#comment:22>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list