[GRASS-dev] Re: [GRASS GIS] #1166: r.tileset: projection string munching on wingrass

GRASS GIS trac at osgeo.org
Mon Sep 20 16:13:34 EDT 2010


#1166: r.tileset: projection string munching on wingrass
---------------------------------+------------------------------------------
 Reporter:  hamish               |       Owner:  grass-dev@…              
     Type:  defect               |      Status:  new                      
 Priority:  normal               |   Milestone:  6.4.1                    
Component:  Default              |     Version:  svn-develbranch6         
 Keywords:  r.tileset, wingrass  |    Platform:  MSWindows XP             
      Cpu:  x86-64               |  
---------------------------------+------------------------------------------

Comment(by glynn):

 Replying to [comment:3 hamish]:
 >
 {{{
 GRASS 6.5> g.message "/"
 C:/PROGRA~1/GRASS-~1/msys
 }}}

 MSys converts any argument which "looks like" a filename to Windows syntax
 when executing any command outside of the MSys "filesystem". The "mkpath"
 command in Rules.make (in 7.0) relies upon this (via tools/g.echo) to
 construct a valid PYTHONPATH.

 This "feature" is one reason why shell scripts will never be robust on
 Windows. Any shell aiming for Unix-compatibility can't use native Windows
 filenames due to the use of ":" in *PATH variables, but Windows programs
 won't understand whatever Unix-style filenames it uses, so it has to
 perform translation. Which falls down when something which looks like a
 filename isn't one (and also when it needs to translate but doesn't; e.g.
 when Init.sh writes $GISDBASE into $GISRC, it doesn't get translated).

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



More information about the grass-dev mailing list