Explorar el Código

https://trac.osgeo.org/grass/ticket/1940 (wingrass - nsis - script in release mode: !define SVN_REVISION "@GRASS_VERSION_SVN@" not set)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59313 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa hace 11 años
padre
commit
cabc3981fd
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      mswindows/GRASS-Installer.nsi.tmpl

+ 5 - 1
mswindows/GRASS-Installer.nsi.tmpl

@@ -30,7 +30,11 @@ SetCompressorDictSize 64
 
 ;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@.@GRASS_VERSION_MINOR@.@GRASS_VERSION_RELEASE@"
 !define GRASS_BASE "GRASS GIS @GRASS_VERSION_MAJOR@.@GRASS_VERSION_MINOR@.@GRASS_VERSION_RELEASE@"