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 ev...@apache.org on 2004/07/28 08:10:48 UTC
cvs commit: maven-components ci.sh
evenisse 2004/07/27 23:10:48
Modified: . ci.sh
Log:
Create ~/maven.properties if it doesn't exists.
Revision Changes Path
1.29 +12 -0 maven-components/ci.sh
Index: ci.sh
===================================================================
RCS file: /home/cvs/maven-components/ci.sh,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ci.sh 27 Jul 2004 17:37:07 -0000 1.28
+++ ci.sh 28 Jul 2004 06:10:48 -0000 1.29
@@ -39,6 +39,18 @@
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.