diff contrib/make_flys_release/make_release.sh @ 4651:83a42e6a562d

Added view for selecting ranges in wsts.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 06 Dec 2012 17:30:09 +0100
parents f91260ccef03
children 8118f9b0ee7b
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Thu Dec 06 13:10:27 2012 +0100
+++ b/contrib/make_flys_release/make_release.sh	Thu Dec 06 17:30:09 2012 +0100
@@ -88,22 +88,22 @@
 #rm $DIRECTORY/server/bin/lib/hibernate-spatial-postgis*
 
 echo "INFO: remove Oralce libraries"
-rm $DIRECTORY/server/bin/lib/hibernate-spatial-oracle-1.1.jar
-rm $DIRECTORY/server/bin/lib/ojdbc*
+rm -f $DIRECTORY/server/bin/lib/hibernate-spatial-oracle-1.1.jar
+rm -f $DIRECTORY/server/bin/lib/ojdbc*
 
 # fetch the configuration stuff
 echo "INFO: copy default configuration to target destination"
 cp -R $FLYS_HG/flys-artifacts/doc/conf $DIRECTORY/server/
 
 #cp confs/* $DIRECTORY/server/conf/
-mkdir -o $DIRECTORY/server/conf
+mkdir -p $DIRECTORY/server/conf
 
 sed "s/8999/$ARTIFACT_PORT/g" \
     confs/rest-server.xml \
     > $DIRECTORY/server/conf/rest-server.xml
 
-sed "s@http://czech-republic.intevation.de/@http://${MAPSERVER_URL}/@g" \
-    "s@flys-default@flys-$RELEASE@g" \
+sed -e "s@http://czech-republic.intevation.de/@http://${MAPSERVER_URL}/@g" \
+    -e "s@flys-default@flys-${RELEASE}@g" \
     confs/floodmap.xml \
     > $DIRECTORY/server/conf/floodmap.xml
 

http://dive4elements.wald.intevation.org