[GRASS-SVN] r49545 - grass/trunk/mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 5 06:40:30 EST 2011


Author: martinl
Date: 2011-12-05 03:40:30 -0800 (Mon, 05 Dec 2011)
New Revision: 49545

Modified:
   grass/trunk/mswindows/GRASS-Installer.nsi
Log:
no need for unix-like gisbase

Modified: grass/trunk/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/trunk/mswindows/GRASS-Installer.nsi	2011-12-05 10:12:27 UTC (rev 49544)
+++ grass/trunk/mswindows/GRASS-Installer.nsi	2011-12-05 11:40:30 UTC (rev 49545)
@@ -864,10 +864,10 @@
 	done_create_fstab:
 	
 	;Set the Unix-Like GIS_DATABASE Path
-	Var /GLOBAL UNIX_LIKE_GIS_DATABASE_PATH
+ 	;Var /GLOBAL UNIX_LIKE_GIS_DATABASE_PATH
   
 	;replace \ with / in $GIS_DATABASE
-	${StrReplace} "$UNIX_LIKE_GIS_DATABASE_PATH" "\" "/" "$GIS_DATABASE"
+	;${StrReplace} "$UNIX_LIKE_GIS_DATABASE_PATH" "\" "/" "$GIS_DATABASE"
 
 	SetShellVarContext current  
 	${If} ${FileExists} "$APPDATA\GRASS7\rc"
@@ -878,7 +878,7 @@
 	      CreateDirectory	$APPDATA\GRASS7
 	      FileOpen $0 $APPDATA\GRASS7\rc w
 	      IfErrors done_create_grass7_rc
-	      FileWrite $0 'GISDBASE: $UNIX_LIKE_GIS_DATABASE_PATH$\r$\n'
+	      FileWrite $0 'GISDBASE: $GIS_DATABASE$\r$\n'
 	      FileWrite $0 'LOCATION_NAME: demolocation$\r$\n'
 	      FileWrite $0 'MAPSET: PERMANENT$\r$\n'
 	      FileClose $0	



More information about the grass-commit mailing list