[GRASS5] [bug #3022] (grass) r.in.srtm can't remove some tmp files

this bug's URL: http://intevation.de/rt/webrt?serial_num=3022
-------------------------------------------------------------------------

Subject: r.in.srtm can't remove some tmp files

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: grass-6.0.cvs_src_snapshot_2005_02_12

When importing with r.in.srtm as follows...

r.in.srtm input=/mnt/windows/gisdane/polska/srtm/Polska/N51E016.hgt.zip output=N51E016.
Extracting /mnt/windows/gisdane/polska/srtm/Polska/N51E016...
Archive: /mnt/windows/gisdane/polska/srtm/Polska/N51E016.hgt.zip
  inflating: N51E016.hgt
Converting input file to BIL...
A datum name wgs84 (WGS_1984) was specified without transformation parameters.
Note that the GRASS default for wgs84 is towgs84=0.000,0.000,0.000.
Projection of input dataset and current location appear to match.
Proceeding with import...
CREATING SUPPORT FILES FOR N51E016.

... following errors occur:

rm: cannot remove `/home/grassdata/srtm/PERMANENT/.tmp/localhost/5036.0//mnt/windows/gisdane/polska/srtm/Polska/N51E016.hgt.zip': No such file or directory
rmdir: `/home/grassdata/srtm/PERMANENT/.tmp/localhost/5036.0': Directory not empty

What's the reason? The SRTM is imported properly after all:

Color table for [N51E016.] set to srtm
Done: generated map N51E016.
(Note: Holes in the data can be closed with 'r.fillnulls' using splines)

Maciek

-------------------------------------------- Managed by Request Tracker

this bug's URL: http://intevation.de/rt/webrt?serial_num=3022
---------------------------------------------------------------------

Subject: r.in.srtm can't remove some tmp files

fixed in CVS.

Hamish