[GRASS-SVN] r57298 - grass/branches/releasebranch_6_4/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 27 09:09:33 PDT 2013


Author: martinl
Date: 2013-07-27 09:09:33 -0700 (Sat, 27 Jul 2013)
New Revision: 57298

Modified:
   grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh
Log:
osgeo4w: unix2dos on bat files

Modified: grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh
===================================================================
--- grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh	2013-07-27 15:07:55 UTC (rev 57297)
+++ grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh	2013-07-27 16:09:33 UTC (rev 57298)
@@ -184,7 +184,13 @@
 	$SRC/mswindows/osgeo4w/grass.bat.tmpl >$OSGEO4W_ROOT_MSYS/bin/${GRASS_EXECUTABLE}.bat.tmpl
     sed -e "s#@VERSION@#$VERSION#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