geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r420477 - in /geronimo/sandbox/svkmerge: genesis/bootstrap m2migration/bootstrap
Date Mon, 10 Jul 2006 10:17:23 GMT
Author: jdillon
Date: Mon Jul 10 03:17:22 2006
New Revision: 420477

URL: http://svn.apache.org/viewvc?rev=420477&view=rev
Log:
Don't use find to clean, loop and rm

Modified:
    geronimo/sandbox/svkmerge/genesis/bootstrap
    geronimo/sandbox/svkmerge/m2migration/bootstrap

Modified: geronimo/sandbox/svkmerge/genesis/bootstrap
URL: http://svn.apache.org/viewvc/geronimo/sandbox/svkmerge/genesis/bootstrap?rev=420477&r1=420476&r2=420477&view=diff
==============================================================================
--- geronimo/sandbox/svkmerge/genesis/bootstrap (original)
+++ geronimo/sandbox/svkmerge/genesis/bootstrap Mon Jul 10 03:17:22 2006
@@ -20,7 +20,9 @@
     
     rm -rf ~/.m2/repository/org/apache/geronimo/genesis
     
-    find "$DIRNAME" -name target -type d -exec rm -rf \{\} \;
+    for x in `find "$DIRNAME" -name target -type d`; do
+        rm -rf "$x"
+    done
 }
 
 clean

Modified: geronimo/sandbox/svkmerge/m2migration/bootstrap
URL: http://svn.apache.org/viewvc/geronimo/sandbox/svkmerge/m2migration/bootstrap?rev=420477&r1=420476&r2=420477&view=diff
==============================================================================
--- geronimo/sandbox/svkmerge/m2migration/bootstrap (original)
+++ geronimo/sandbox/svkmerge/m2migration/bootstrap Mon Jul 10 03:17:22 2006
@@ -40,7 +40,9 @@
     
     rm -rf ~/.m2/repository
     
-    find "$DIRNAME" -name target -type d -exec rm -rf \{\} \;
+    for x in `find "$DIRNAME" -name target -type d`; do
+        rm -rf "$x"
+    done
 }
 
 stage() {



Mime
View raw message