[GRASS-dev] [GRASS GIS] #2445: r.mask -r removal not working in GRASS 7.1 svn r.62210

#2445: r.mask -r removal not working in GRASS 7.1 svn r.62210
--------------------------+-------------------------
  Reporter: baharmon | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.0
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.mask
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+-------------------------

Comment (by mlennert):

Replying to [comment:10 sbl]:
> Confirmed on Win7.
>
> g.remove type=rast pattern=MASK -f does not remove a map "mask" on
Windows, while
> g.remove -fi type=rast pattern=MASK does.

Ok. I've attached a patch that AFAICT should check for Windows and then
make the g.remove call case insensitive.

Please test.

Moritz

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2445#comment:11&gt;
GRASS GIS <https://grass.osgeo.org>