[Dive4elements-commits] [PATCH 1 of 2] Fixed typo in make_release script

Wald Commits scm-commit at wald.intevation.org
Wed Nov 14 12:38:09 CET 2012


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1352892990 -3600
# Node ID f91260ccef0339d6e6e42f66ab02ff704f4c595f
# Parent  334c68344eb5124be529d5668e7bef45096ca894
Fixed typo in make_release script.

diff -r 334c68344eb5 -r f91260ccef03 contrib/make_flys_release/make_release.sh
--- a/contrib/make_flys_release/make_release.sh	Wed Nov 14 11:20:06 2012 +0100
+++ b/contrib/make_flys_release/make_release.sh	Wed Nov 14 12:36:30 2012 +0100
@@ -14,7 +14,7 @@
 RELEASE_DATE=`date +'%Y-%m-%d'`
 DIRECTORY=$PREFIX$RELEASE-$RELEASE_DATE
 
-ARTEFACT_PORT=${ARTEFACT_PORT:-9002}
+ARTIFACT_PORT=${ARTIFACT_PORT:-9002}
 TOMCAT_PORT=${TOMCAT_PORT:-8005}
 
 MAPSERVER_URL=${MAPSERVER_URL:-czech-republic.intevation.de}
@@ -44,7 +44,7 @@
 # adapt client configuration
 echo "INFO: prepare configuration of web client"
 
-sed -i -e "s at http://localhost:8181 at http://localhost:$ARTEFACT_PORT at g" \
+sed -i -e "s at http://localhost:8181 at http://localhost:$ARTIFACT_PORT at g" \
        -e "s at http://localhost:8888 at http://localhost:$TOMCAT_PORT at g" \
     $FLYS_HG/flys-client/src/main/webapp/WEB-INF/web.xml
 
@@ -64,7 +64,7 @@
 echo "INFO: compile and build sources"
 mvn -f $ARTIFACTS_HG/pom.xml clean compile package install
 mvn -f $FLYS_HG/flys-backend/pom.xml clean compile package install
-mvn -f $FLYS_HG/flys-artifacts/pom.xml clean compile package dependency:copy-dependencies
+mvn -f $FLYS_HG/flys-artifacts/pom.xml clean compile package dependency:copy-dependencies install
 mvn -f $HTTPCLIENT_HG/pom.xml clean compile package install
 mvn -f $FLYS_HG/flys-client/pom.xml clean compile package
 
@@ -98,7 +98,7 @@
 #cp confs/* $DIRECTORY/server/conf/
 mkdir -o $DIRECTORY/server/conf
 
-sed "s/8999/$ARTEFACT_PORT/g" \
+sed "s/8999/$ARTIFACT_PORT/g" \
     confs/rest-server.xml \
     > $DIRECTORY/server/conf/rest-server.xml
 


More information about the Dive4elements-commits mailing list