Kaynağa Gözat

package.sh: unix2dos (sync'ed with G64)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57608 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 yıl önce
ebeveyn
işleme
a479f331bd
1 değiştirilmiş dosya ile 7 ekleme ve 1 silme
  1. 7 1
      mswindows/osgeo4w/package.sh

+ 7 - 1
mswindows/osgeo4w/package.sh

@@ -186,7 +186,13 @@ if [ -n "$PACKAGE" ]; then
 	$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 \