You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2006/08/11 22:32:13 UTC

svn commit: r430887 - /geronimo/trunk/bootstrap

Author: jdillon
Date: Fri Aug 11 13:32:12 2006
New Revision: 430887

URL: http://svn.apache.org/viewvc?rev=430887&view=rev
Log:
Added BOOTSTRAP_NOCLEAN_REPO flag to tell bootstrap optionally not to nuke the repo

Modified:
    geronimo/trunk/bootstrap

Modified: geronimo/trunk/bootstrap
URL: http://svn.apache.org/viewvc/geronimo/trunk/bootstrap?rev=430887&r1=430886&r2=430887&view=diff
==============================================================================
--- geronimo/trunk/bootstrap (original)
+++ geronimo/trunk/bootstrap Fri Aug 11 13:32:12 2006
@@ -38,7 +38,11 @@
 clean() {
     echo "Cleaning..."
     
-    rm -rf ~/.m2/repository
+    if [ "x$BOOTSTRAP_NOCLEAN_REPO" = "x" ]; then
+        rm -rf ~/.m2/repository
+    else
+        echo "Skipping repository cleaning"
+    fi
     
     rm -rf "$DIRNAME/thirdparty"
     mkdir -p "$DIRNAME/thirdparty"