summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorLISA STILLWELL <lisa@dhcp152-54-9-239.europa.renci.org>2012-10-19 15:36:55 (GMT)
committer LISA STILLWELL <lisa@dhcp152-54-9-239.europa.renci.org>2012-10-19 15:36:55 (GMT)
commitacb027f1331e3c0aea5cd6b407ae20af75276e3b (patch)
tree5711972be942a3dfc274137ab169ec700d7233da /packaging
parent30ab38e0a34df026ff5ee8b836f441b4283cd1ca (diff)
downloadQCG-Data-acb027f1331e3c0aea5cd6b407ae20af75276e3b.zip
QCG-Data-acb027f1331e3c0aea5cd6b407ae20af75276e3b.tar.gz
QCG-Data-acb027f1331e3c0aea5cd6b407ae20af75276e3b.tar.bz2
[#769] clean up old grails and maven downloads
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/build.sh b/packaging/build.sh
index 3c4ba33..a994012 100755
--- a/packaging/build.sh
+++ b/packaging/build.sh
@@ -66,6 +66,9 @@ MAVEN=`which mvn`
if [[ "$?" != "0" || `echo $MAVEN | awk '{print $1}'` == "no" ]] ; then
echo "Apache Maven required to build project - downloading from $MAVENDOWNLOAD"
+ # clean up any old one first
+ rm -rf $MAVENFILE*
+
# download maven
wget $MAVENDOWNLOAD
@@ -90,6 +93,9 @@ GRAILS=`which grails`
if [[ "$?" != "0" || `echo $GRAILS | awk '{print $1}'` == "no" ]] ; then
echo "GRAILS required to build project - downloading from $GRAILSDOWNLOAD"
+ # clean up any old one first
+ rm -rf $GRAILSFILE*
+
# download grails
wget $GRAILSDOWNLOAD