Author: bayard Date: Sun Oct 2 05:20:33 2011 New Revision: 1178126 URL: http://svn.apache.org/viewvc?rev=1178126&view=rev Log: Replacing hardcoded home dir
Modified: commons/scripts/commons-build-bayard.sh Modified: commons/scripts/commons-build-bayard.sh URL: http://svn.apache.org/viewvc/commons/scripts/commons-build-bayard.sh?rev=1178126&r1=1178125&r2=1178126&view=diff ============================================================================== --- commons/scripts/commons-build-bayard.sh (original) +++ commons/scripts/commons-build-bayard.sh Sun Oct 2 05:20:33 2011 @@ -4,16 +4,16 @@ GROUPDIR=`echo ${GROUPID} | sed 's/\./\/ ARTIFACTID=`grep artifactId pom.xml | head -2 | tail -1 | sed 's/^ *<artifactId>//' | sed 's/<\/artifactId>//'` VERSION=`grep version pom.xml | head -3 | tail -1 | sed 's/^ *<version>//' | sed 's/<\/version>//'` -export JAVA_HOME=/home/hen/apps/jdk1.5.0_22 +export JAVA_HOME=$HOME/apps/jdk1.5.0_22 export PATH=$JAVA_HOME/bin:$PATH -export PATH=/home/hen/oss/apache/committer-tools/releases:$PATH +export PATH=$HOME/oss/apache/committer-tools/releases:$PATH -rm -fr /home/hen/.m2/repository/${GROUPDIR}/${ARTIFACTID} +rm -fr $HOME/.m2/repository/${GROUPDIR}/${ARTIFACTID} rm -fr ../upload mkdir ../upload mvn -Prc -DcreateChecksum=true install -cp -r /home/hen/.m2/repository/${GROUPDIR}/${ARTIFACTID} ../upload/maven +cp -r $HOME/.m2/repository/${GROUPDIR}/${ARTIFACTID} ../upload/maven mvn assembly:assembly site