[GRASS-SVN] r30505 - in grass/trunk/scripts: d.polar r.plane v.in.e00

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 9 04:28:14 EDT 2008


Author: hamish
Date: 2008-03-09 04:28:14 -0400 (Sun, 09 Mar 2008)
New Revision: 30505

Modified:
   grass/trunk/scripts/d.polar/d.polar
   grass/trunk/scripts/r.plane/r.plane
   grass/trunk/scripts/v.in.e00/v.in.e00
Log:
fix wildcard quoting

Modified: grass/trunk/scripts/d.polar/d.polar
===================================================================
--- grass/trunk/scripts/d.polar/d.polar	2008-03-09 04:16:36 UTC (rev 30504)
+++ grass/trunk/scripts/d.polar/d.polar	2008-03-09 08:28:14 UTC (rev 30505)
@@ -111,7 +111,7 @@
 
 cleanup()
 {
-   \rm -f "${TMP}" "${TMP}_*"
+   \rm -f "${TMP}" "${TMP}_"*
 }
 
 #################################

Modified: grass/trunk/scripts/r.plane/r.plane
===================================================================
--- grass/trunk/scripts/r.plane/r.plane	2008-03-09 04:16:36 UTC (rev 30504)
+++ grass/trunk/scripts/r.plane/r.plane	2008-03-09 08:28:14 UTC (rev 30505)
@@ -93,7 +93,7 @@
 fi
 
 #### trap ctrl-c so that we can clean up tmp
-trap 'rm -f "${TMP}*"' 2 3 15
+trap 'rm -f "$TMP"*' 2 3 15
 
 # setting environment, so that awk works properly in all languages
 unset LC_ALL

Modified: grass/trunk/scripts/v.in.e00/v.in.e00
===================================================================
--- grass/trunk/scripts/v.in.e00/v.in.e00	2008-03-09 04:16:36 UTC (rev 30504)
+++ grass/trunk/scripts/v.in.e00/v.in.e00	2008-03-09 08:28:14 UTC (rev 30505)
@@ -231,7 +231,7 @@
 g.message "Imported <$GIS_OPT_TYPE> vector map <$NAME>."
 
 #### clean up the mess
-rm -f "${TMPDIR}/$E00NAME.e*" "${TMPDIR}/$E00NAME.E*"
+rm -f "${TMPDIR}/$E00NAME.e"* "${TMPDIR}/$E00NAME.E"*
 rm -rf "$E00TMP.e00" "$E00SHORTNAME" info "$E00NAME.cat.$E00TMP.e00" 2>&1 > /dev/null
 cd ..
 rmdir "$TMPDIR"



More information about the grass-commit mailing list