[GRASS-SVN] r59313 - grass/trunk/mswindows
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Mar 24 10:44:49 PDT 2014
Author: martinl
Date: 2014-03-24 10:44:48 -0700 (Mon, 24 Mar 2014)
New Revision: 59313
Modified:
grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
Log:
#1940 (wingrass - nsis - script in release mode: !define SVN_REVISION "@GRASS_VERSION_SVN@" not set)
Modified: grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
===================================================================
--- grass/trunk/mswindows/GRASS-Installer.nsi.tmpl 2014-03-24 17:42:50 UTC (rev 59312)
+++ grass/trunk/mswindows/GRASS-Installer.nsi.tmpl 2014-03-24 17:44:48 UTC (rev 59313)
@@ -30,7 +30,11 @@
;Version variables
-!define SVN_REVISION "@GRASS_VERSION_SVN@"
+!if "@GRASS_VERSION_SVN@" == ""
+ !define SVN_REVISION "0"
+!else
+ !define SVN_REVISION "@GRASS_VERSION_SVN@"
+!endif
!define BINARY_REVISION "1"
!define VERSION_NUMBER "@GRASS_VERSION_MAJOR at .@GRASS_VERSION_MINOR at .@GRASS_VERSION_RELEASE@"
!define GRASS_BASE "GRASS GIS @GRASS_VERSION_MAJOR at .@GRASS_VERSION_MINOR at .@GRASS_VERSION_RELEASE@"
More information about the grass-commit
mailing list