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 jv...@apache.org on 2004/08/11 22:38:32 UTC
cvs commit: maven-components ci.sh
jvanzyl 2004/08/11 13:38:32
Modified: . ci.sh
Log:
o cleaning up the ci.sh for the new build with mboot.jar
Revision Changes Path
1.31 +5 -24 maven-components/ci.sh
Index: ci.sh
===================================================================
RCS file: /home/cvs/maven-components/ci.sh,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ci.sh 10 Aug 2004 19:52:41 -0000 1.30
+++ ci.sh 11 Aug 2004 20:38:32 -0000 1.31
@@ -39,18 +39,6 @@
DEPLOY_SITE=http://www.codehaus.org/~jvanzyl/m2
# ----------------------------------------------------------------------------------
-# Check if ~/maven.properties exists
-# ----------------------------------------------------------------------------------
-if [ ! -f ~/maven.properties ]
-then
- echo
- echo "maven.properties doesn't exists. I create it."
- echo "maven.home=$M2_HOME" > ~/maven.properties
- echo "maven.repo.local=$REPO" >> ~/maven.properties
- echo
-fi
-
-# ----------------------------------------------------------------------------------
# Wipe out the working directory and the repository and start entirely
# from scratch.
@@ -137,14 +125,10 @@
echo
echo "Creating m2 distribution for public consumption: ${DEPLOY_SITE}/${DIST}"
echo
-
- (
- cd $DIR/maven-components/maven-core/dist
-
- tar czf $DIST m2
-
- cp $DIST $DEPLOY_DIR
- )
+
+ mkdir -p $DEPLOY_DIR > /dev/null 2>&1
+
+ tar czf $DEPLOY_DIR/$DIST m2
else
@@ -162,8 +146,5 @@
if [ "$BUILD_REQUIRED" = "true" ]
then
- if [ "$hostname" = "beaver.codehaus.org" ]
- then
- /usr/sbin/sendmail -t < log
- fi
+ /usr/sbin/sendmail -t < log
fi