[GRASS-SVN] r50927 - grass-addons/tools/wingrass-packager

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 23 14:33:17 EST 2012


Author: martinl
Date: 2012-02-23 11:33:17 -0800 (Thu, 23 Feb 2012)
New Revision: 50927

Modified:
   grass-addons/tools/wingrass-packager/grass_svn_info.sh
Log:
wingrass-packager: use tmpl

Modified: grass-addons/tools/wingrass-packager/grass_svn_info.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_svn_info.sh	2012-02-23 19:32:40 UTC (rev 50926)
+++ grass-addons/tools/wingrass-packager/grass_svn_info.sh	2012-02-23 19:33:17 UTC (rev 50927)
@@ -24,11 +24,9 @@
     else
 	TYPE="Release"
     fi
-    sed -e "s/SVN_REVISION \"36599\"/SVN_REVISION \"$REV\"/g" \
-	-e "s/BINARY_REVISION \"1\"/BINARY_REVISION \"$NUM\"/g" \
+    sed -e "s/BINARY_REVISION \"1\"/BINARY_REVISION \"$NUM\"/g" \
 	-e "s/INSTALLER_TYPE \"Devel\"/INSTALLER_TYPE \"$TYPE\"/g" \
-	-e "s/VERSION_NUMBER \".*\"/VERSION_NUMBER \"$VERSION\"/g" \
-	-e "s/GRASS_BASE \"GRASS .*\"/GRASS_BASE \"GRASS $VERSION\"/g" $HOME/$2/GRASS-Installer.nsi > tmp
+	$HOME/$2/GRASS-Installer.nsi > tmp
     mv tmp $HOME/$2/GRASS-Installer.nsi
 
     create_log $SRC/$1 $2 $REV $NUM



More information about the grass-commit mailing list