You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by br...@apache.org on 2004/09/02 15:14:47 UTC
cvs commit: maven-components ci.sh
brett 2004/09/02 06:14:47
Modified: . ci.sh
Log:
add back M2_HOME
Revision Changes Path
1.33 +6 -12 maven-components/ci.sh
Index: ci.sh
===================================================================
RCS file: /home/cvs/maven-components/ci.sh,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- ci.sh 2 Sep 2004 12:34:16 -0000 1.32
+++ ci.sh 2 Sep 2004 13:14:47 -0000 1.33
@@ -1,16 +1,6 @@
#!/bin/sh
# ----------------------------------------------------------------------------------
-# To run this script on your machine you must:
-#
-# 1. export JAVA_HOME=/path/to/java
-#
-# ----------------------------------------------------------------------------------
-
-export JAVA_HOME=/usr/local/java
-export PATH=$PATH:$JAVA_HOME/bin
-
-# ----------------------------------------------------------------------------------
CMD=$1
@@ -20,7 +10,7 @@
DATE=`date`
DIR=m2-build
REPO=maven-repo-local
-FROM=jvanzyl@maven.org
+FROM=brett@maven.org
#TO=maven2-user@lists.codehaus.org
TO=m2-dev@maven.apache.org
SCM_LOG=scm.log
@@ -28,6 +18,10 @@
DEPLOY_DIR=$HOME_DIR/public_html/m2
DEPLOY_SITE=http://www.codehaus.org/~jvanzyl/m2
+export JAVA_HOME=/usr/local/java
+export M2_HOME=$HOME_DIR/m2
+export PATH=$PATH:$JAVA_HOME/bin:$M2_HOME/bin
+
# ----------------------------------------------------------------------------------
# Wipe out the working directory and the repository and start entirely
@@ -107,7 +101,7 @@
(
cd $DIR/maven-components
- sh m2-bootstrap-all.sh -Dmaven.repo.local="$HOME_DIR/$REPO" -Dmaven.home="$HOME_DIR/m2"
+ sh m2-bootstrap-all.sh -Dmaven.repo.local="$HOME_DIR/$REPO" -Dmaven.home="$M2_HOME"
)
DIST=m2-${TIMESTAMP}.tar.gz