Explorar o código

mswindows installer: attempt to fix https://trac.osgeo.org/grass/ticket/2448 by providing dummy GISRC (merge from trunk, https://trac.osgeo.org/grass/changeset/65440)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@65452 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová %!s(int64=10) %!d(string=hai) anos
pai
achega
0f7db6f83c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      mswindows/GRASS-Installer.nsi.tmpl

+ 3 - 0
mswindows/GRASS-Installer.nsi.tmpl

@@ -551,6 +551,9 @@ Section "GRASS" SecGRASS
 	FileWrite $0 'rem set dependecies path$\r$\n'
 	FileWrite $0 'set PATH=%FREETYPEBASE%;%PATH%$\r$\n'
 	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem GISRC must be set$\r$\n'
+	FileWrite $0 'set GISRC=dummy$\r$\n'
+	FileWrite $0 '$\r$\n'
 	FileWrite $0 'rem run g.mkfontcap outside a grass session$\r$\n'
 	FileWrite $0 '"%GISBASE%\bin\g.mkfontcap.exe" -o$\r$\n'
 	FileWrite $0 'exit$\r$\n'