[GRASS-SVN] r50556 -
grass/branches/releasebranch_6_4/scripts/r.in.aster
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 30 08:05:37 EST 2012
Author: hamish
Date: 2012-01-30 05:05:37 -0800 (Mon, 30 Jan 2012)
New Revision: 50556
Modified:
grass/branches/releasebranch_6_4/scripts/r.in.aster/r.in.aster
Log:
minimal fix for #1552
Modified: grass/branches/releasebranch_6_4/scripts/r.in.aster/r.in.aster
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.in.aster/r.in.aster 2012-01-30 13:04:48 UTC (rev 50555)
+++ grass/branches/releasebranch_6_4/scripts/r.in.aster/r.in.aster 2012-01-30 13:05:37 UTC (rev 50556)
@@ -142,7 +142,7 @@
srcfile="$GIS_OPT_INPUT"
fi
-tempfile=`g.tempfile $$`.tif
+tempfile="`g.tempfile $$`.tif"
#run gdalwarp with selected options (must be in $PATH)
#to translate aster image to geotiff
@@ -156,7 +156,7 @@
g.message -d message="gdalwarp -t srs $proj $srcfile $tempfile"
-gdalwarp -t_srs "`g.proj -jf`" $srcfile $tempfile
+gdalwarp -t_srs "`g.proj -jf`" "$srcfile" "$tempfile"
#import geotiff to GRASS
g.message "Importing into GRASS ..."
More information about the grass-commit
mailing list