geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r430887 - /geronimo/trunk/bootstrap
Date Fri, 11 Aug 2006 20:32:13 GMT
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"



Mime
View raw message