Helmut Kudrnovsky wrote:

> >This looks like a packaging issue. 
> 
> maybe any hints where (which files) to look for this path-issues in
> order to fix this in the nsis-installer?

The source file is lib/init/grass.py. This is installed to
bin.<arch>/grass70 (grass70.py on Windows) with some substitutions. It
is also installed to dist.<arch>/grass70.tmp, with most of the
substitutions but with @GISBASE@ left as-is.

Install.make installs dist.<arch>/grass70.tmp to $(UNIX_BIN), with
@GISBASE@ substituted by the actual install directory.

I note the following in mswindows/GRASS-Installer.nsi:

                ;replace gisbase = "/c/OSGeo4W/apps/grass/grass-7.0.svn" in 
grass70.py with $INSTDIR
         Push "$INSTDIR\grass70.py" ; file to modify
         Push 'gisbase = "/c/OSGeo4W/apps/grass/grass-7.0.svn"' ; string that a 
line must begin with *WS Sensitive*
         Push 'gisbase = "$INSTDIR"' ; string to replace whole line with
        Call ReplaceLineStr

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to