[GRASS-dev] [GRASS GIS] #1803: GRASS 6.4.3RC1 on Win 7: grass64.bat fails due to UNIX line endings in Init.bat

GRASS GIS trac at osgeo.org
Sat Mar 9 15:40:59 PST 2013


#1803: GRASS 6.4.3RC1 on Win 7: grass64.bat fails due to UNIX line endings in
Init.bat
--------------------------------------+-------------------------------------
 Reporter:  msieczka                  |       Owner:  grass-dev@…              
     Type:  defect                    |      Status:  new                      
 Priority:  critical                  |   Milestone:  6.4.3                    
Component:  Startup                   |     Version:  6.4.3 RCs                
 Keywords:  Init.bat, CRLF, wingrass  |    Platform:  MSWindows 7              
      Cpu:  x86-64                    |  
--------------------------------------+-------------------------------------

Comment(by hellik):

 Replying to [comment:13 neteler]:
 >
 > Wouldn't it be sufficient then to add a unix2dos.exe call in:
 >
 >
 http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/lib/init/Makefile#L107

 tested here with

 {{{
 GRASS version: 6.4.3svn
 GRASS SVN Revision: 55262
 GIS Library Revision: 50937 (2012-02-25)
 GDAL/OGR: 1.9.2
 PROJ4: Rel. 4.8.0, 6 March 2012
 Python: 2.7.2
 wxPython: 2.8.12.1
 Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
 }}}

 "GRASS 6.4.3svn GUI" start without any problem, but "GRASS 6.4.3svn
 Command Line" is the problem.

 unix2dos C:\OSGeo4W\apps\grass\grass-6.4.3svn\etc\Init.bat helps to start
 by "GRASS 6.4.3svn Command Line", by maybe other files affected...

 Helmut

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1803#comment:15>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list