[GRASS-SVN] r41189 - grass-addons/raster/r.out.kml
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 26 07:45:11 EST 2010
Author: hamish
Date: 2010-02-26 07:45:10 -0500 (Fri, 26 Feb 2010)
New Revision: 41189
Modified:
grass-addons/raster/r.out.kml/r.out.kml
Log:
use zip -m instead of rm
Modified: grass-addons/raster/r.out.kml/r.out.kml
===================================================================
--- grass-addons/raster/r.out.kml/r.out.kml 2010-02-26 12:12:55 UTC (rev 41188)
+++ grass-addons/raster/r.out.kml/r.out.kml 2010-02-26 12:45:10 UTC (rev 41189)
@@ -181,8 +181,7 @@
# create KMZ if requested
if [ "$GIS_FLAG_Z" -eq 1 ] ; then
- zip "$OUT_NAME.kmz" "$OUT_NAME.kml" "$OUT_NAME.$IMG_EXT"
- rm -f "$OUT_NAME.kml" "$OUT_NAME.$IMG_EXT"
+ zip -m "$OUT_NAME.kmz" "$OUT_NAME.kml" "$OUT_NAME.$IMG_EXT"
fi
More information about the grass-commit
mailing list