#1271: osgeo4w patch update -------------------------+-------------------------------------------------- Reporter: jef | Owner: grass-dev@… Type: enhancement | Status: new Priority: normal | Milestone: 6.4.1 Component: Default | Version: svn-releasebranch64 Keywords: wingrass | Platform: MSWindows Vista Cpu: Unspecified | -------------------------+--------------------------------------------------
Comment(by jef): Replying to [comment:20 martinl]: > Replying to [comment:16 martinl]: > {{{ > > call C:\OSGeo4W\apps\grass\grass-6.5.svn\etc\env.bat > }}} > > btw, in r45561 `env.bat` moved to `c:\osgeo4w\etc\ini\grass65.bat` That way multiple GRASS version can't coexist. The files in etc/ini are general versions - which should only be used when there is only one version. These are sources from o4w_env.bat, which is used by several start files in bin. For packages in multiple version there are batch files in bin (GDAL for example) that are either invoked manually from the shell to activate a specific version (like gdal17.bat) or implictely from the start batch file of the other software (e.g. grass.bat currently uses gdal17.bat and qgis- dev.bat uses grass-env.bat). The patch puts init.bat.tmpl into bin/grass$POSTFIX-env.bat.tmpl, which is updated with the actual install path on install by etc/postinstall/grass$POSTFIX.bat (from postinstall.bat) and sourced from grass$POSTFIX.bat (from grass.bat.tmpl) which then invokes the actual init.bat in apps/grass-$POSTFIX/etc/init.bat. -- Ticket URL: <https://trac.osgeo.org/grass/ticket/1271#comment:21> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev