geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r424511 - /geronimo/sandbox/svkmerge/m2migration/bootstrap
Date Sat, 22 Jul 2006 02:25:00 GMT
Author: jdillon
Date: Fri Jul 21 19:25:00 2006
New Revision: 424511

URL: http://svn.apache.org/viewvc?rev=424511&view=rev
Log:
Allow steps to be run out of order manually

Modified:
    geronimo/sandbox/svkmerge/m2migration/bootstrap

Modified: geronimo/sandbox/svkmerge/m2migration/bootstrap
URL: http://svn.apache.org/viewvc/geronimo/sandbox/svkmerge/m2migration/bootstrap?rev=424511&r1=424510&r2=424511&view=diff
==============================================================================
--- geronimo/sandbox/svkmerge/m2migration/bootstrap (original)
+++ geronimo/sandbox/svkmerge/m2migration/bootstrap Fri Jul 21 19:25:00 2006
@@ -82,13 +82,17 @@
     
     trap abort STOP KILL INT ABRT
     
-    begin && (
-        clean
-        stage "bootstrap" && \
-        openejb2 && \
-        stage "assemble"
-    ) && complete $?
+    if [ "x$1" != "x" ]; then
+        $*
+    else
+        begin && (
+            clean
+            stage "bootstrap" && \
+            openejb2 && \
+            stage "assemble"
+        ) && complete $?
+    fi
 }
 
-main | 2>&1 tee bootstrap.log
+main "$@" | 2>&1 tee bootstrap.log
 



Mime
View raw message