]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Improve build script
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 6 Jun 2009 21:36:54 +0000 (21:36 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 6 Jun 2009 21:36:54 +0000 (21:36 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2505 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

buildSite.sh

index 366a8d20421efd0994d5c050c369166e965a9a1a..09408cf004ae14b403d579dd956f03636667d4cc 100755 (executable)
@@ -14,7 +14,7 @@ HOSTNAME=`hostname -f`
 DATE=`date -u`
 
 # BUILD
-mvn --fail-at-end deploy -P$PROFILES 2>&1 | tee deploy.log
+mvn --fail-at-end deploy $PROFILES 2>&1 | tee deploy.log
 if [ $? eq 0 ] ; then
        mail -s "Build@$HOSTNAME SUCCESS - $DATE - $BUILD_DIR" $TO < pom.xml
 else
@@ -22,7 +22,7 @@ else
 fi
 
 # SITE
-mvn --fail-at-end site-deploy -P$PROFILES 2>&1 | tee siteGeneration.log
+mvn --fail-at-end site-deploy $PROFILES 2>&1 | tee siteGeneration.log
 if [ $? eq 0 ] ; then
        echo No need to send email for successful site generation
 else