[GRASS-SVN] r56002 - grass/branches/develbranch_6/mswindows
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 25 20:19:07 PDT 2013
Author: hamish
Date: 2013-04-25 20:19:07 -0700 (Thu, 25 Apr 2013)
New Revision: 56002
Modified:
grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl
Log:
variablize rc filename
Modified: grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl
===================================================================
--- grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl 2013-04-26 03:14:56 UTC (rev 56001)
+++ grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl 2013-04-26 03:19:07 UTC (rev 56002)
@@ -834,13 +834,13 @@
;${StrReplace} "$UNIX_LIKE_GIS_DATABASE_PATH" "\" "/" "$GIS_DATABASE"
SetShellVarContext current
- ${If} ${FileExists} "$APPDATA\GRASS at GRASS_VERSION_MAJOR@\grassrc6"
- DetailPrint "File $APPDATA\GRASS at GRASS_VERSION_MAJOR@\grassrc6 already exists. Skipping."
+ ${If} ${FileExists} "$APPDATA\GRASS at GRASS_VERSION_MAJOR@\grassrc at GRASS_VERSION_MAJOR@"
+ DetailPrint "File $APPDATA\GRASS at GRASS_VERSION_MAJOR@\grassrc at GRASS_VERSION_MAJOR@ already exists. Skipping."
${Else}
- ;create $APPDATA\GRASS at GRASS_VERSION_MAJOR@\grassrc6
+ ;create $APPDATA\GRASS at GRASS_VERSION_MAJOR@\grassrc at GRASS_VERSION_MAJOR@
ClearErrors
CreateDirectory $APPDATA\GRASS at GRASS_VERSION_MAJOR@
- FileOpen $0 $APPDATA\GRASS at GRASS_VERSION_MAJOR@\grassrc6 w
+ FileOpen $0 $APPDATA\GRASS at GRASS_VERSION_MAJOR@\grassrc at GRASS_VERSION_MAJOR@ w
IfErrors done_create_grass_rc
FileWrite $0 'GISDBASE: $GIS_DATABASE$\r$\n'
FileWrite $0 'LOCATION_NAME: demolocation$\r$\n'
More information about the grass-commit
mailing list