[GRASS-SVN] r57608 - grass/trunk/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 6 10:42:22 PDT 2013


Author: martinl
Date: 2013-09-06 10:42:21 -0700 (Fri, 06 Sep 2013)
New Revision: 57608

Modified:
   grass/trunk/mswindows/osgeo4w/package.sh
Log:
package.sh: unix2dos (sync'ed with G64)


Modified: grass/trunk/mswindows/osgeo4w/package.sh
===================================================================
--- grass/trunk/mswindows/osgeo4w/package.sh	2013-09-06 17:04:08 UTC (rev 57607)
+++ grass/trunk/mswindows/osgeo4w/package.sh	2013-09-06 17:42:21 UTC (rev 57608)
@@ -186,7 +186,13 @@
 	$SRC/mswindows/osgeo4w/grass.bat.tmpl >$OSGEO4W_ROOT_MSYS/bin/${GRASS_EXECUTABLE}.bat.tmpl
     sed -e "s#@VERSION@#$VERSION#g" -e "s#@OSGEO4W_ROOT_MSYS@#@OSGEO4W_ROOT@#g" -e "s#@POSTFIX@#$MAJOR$MINOR#g" \
 	$SRC/mswindows/osgeo4w/grass.tmpl >$OSGEO4W_ROOT_MSYS/bin/${GRASS_EXECUTABLE}.tmpl
-
+    
+    # bat files - unix2dos
+    unix2dos bin/${GRASS_EXECUTABLE}.bat.tmpl
+    unix2dos bin/${GRASS_EXECUTABLE}.tmpl
+    unix2dos etc/postinstall/${GRASS_EXECUTABLE}.bat
+    unix2dos etc/preremove/${GRASS_EXECUTABLE}.bat
+    
     # grass package
     tar -cjf $PDIR/grass$PACKAGE_NAME-$VERSION-$PACKAGE.tar.bz2 \
 	apps/grass/grass-$VERSION \



More information about the grass-commit mailing list