[Dive4elements-commits] [PATCH] Handle FEATURES_XML environment setting

Wald Commits scm-commit at wald.intevation.org
Mon Jun 3 11:26:00 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1370251556 -7200
# Node ID 233113b02cab5568d192095ef6b893814b3cf354
# Parent  2a3f5e0e3ba5862109594d816cd7d1988418510d
Handle FEATURES_XML environment setting

    untested

diff -r 2a3f5e0e3ba5 -r 233113b02cab contrib/make_flys_release/README
--- 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
diff -r 2a3f5e0e3ba5 -r 233113b02cab contrib/make_flys_release/make_release.sh
--- 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/
 


More information about the Dive4elements-commits mailing list