[GRASS-dev] Re: [GRASS GIS] #595: WinGRASS g.version -c fails

GRASS GIS trac at osgeo.org
Tue Sep 15 13:28:56 EDT 2009


#595: WinGRASS g.version -c fails
---------------------------+------------------------------------------------
  Reporter:  hamish        |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  blocker       |   Milestone:  6.4.0                    
 Component:  License       |     Version:  6.4.0 RCs                
Resolution:                |    Keywords:  wingrass gpl             
  Platform:  MSWindows XP  |         Cpu:  x86-32                   
---------------------------+------------------------------------------------
Comment (by cnielsen):

 Spoke too soon, it fails if that change is made in the Makefile but not if
 run in the shell. Note the difference:
 When Makefile runs:
 {{{
 cat ./../../COPYING | sed -e 's/.*&\\n/g' | tr -d '\012' >
 /src/dev_6/dist.i686-pc-mingw32/etc/VERSION
 sed: -e expression #2, char 10: Unterminated `s' command
 }}}
 Although in Makefile I wrote:
 {{{
 cat ./../../COPYING | sed -e 's/.*$/&\\n/g' | tr -d '\012' >
 $(GRASS_VERSION_FILE)
 }}}
 $/ is going missing from the middle of it. I'm not sure how to fix this
 though.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/595#comment:4>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list