changeset 6163:233113b02cab

Handle FEATURES_XML environment setting untested
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 03 Jun 2013 11:25:56 +0200
parents 2a3f5e0e3ba5
children bfec80563325
files contrib/make_flys_release/README contrib/make_flys_release/make_release.sh
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/make_flys_release/README	Mon Jun 03 10:23:20 2013 +0200
+++ b/contrib/make_flys_release/README	Mon Jun 03 11:25:56 2013 +0200
@@ -27,6 +27,8 @@
 BACKENDUSER
 BACKENDPASS
 
+FEATURES_XML (Wenn gesetzt pfad zu einer zu verwendenden features.xml)
+
 Prozess:
 ========
 Als erstes muss man eine halbwegs aktuelle version von artifacts-common
--- a/contrib/make_flys_release/make_release.sh	Mon Jun 03 10:23:20 2013 +0200
+++ b/contrib/make_flys_release/make_release.sh	Mon Jun 03 11:25:56 2013 +0200
@@ -344,6 +344,10 @@
 $SCRIPT_DIR/h2/createArtifacts.sh $WORK_DIR/artifactsdb/artifacts-h2.sql
 $SCRIPT_DIR/h2/createDatacage.sh $WORK_DIR/datacagedb/datacage.sql
 
+if [ -r "$FEATURES_XML" ]; then
+    cp "$FEATURES_XML" $WORK_DIR/server/conf/features.xml
+fi
+
 mv $WORK_DIR/artifactsdb $WORK_DIR/server/
 mv $WORK_DIR/datacagedb $WORK_DIR/server/
 

http://dive4elements.wald.intevation.org