diff contrib/make_flys_release/make_release.sh @ 8494:76994a0187fa

Do not give Oracle-JARs with hardcoded personal path in release script.
author Tom Gottfried <tom@intevation.de>
date Thu, 04 Dec 2014 13:00:23 +0100
parents 07a369e6e277
children dc0351c5d098
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Thu Dec 04 11:38:18 2014 +0100
+++ b/contrib/make_flys_release/make_release.sh	Thu Dec 04 13:00:23 2014 +0100
@@ -24,9 +24,6 @@
 # Do not use spaces in path
 FLYS_SOURCE_DIR=/local-vol1/aheinecke/flys-release
 
-ORACLE_HIBERNATE=$FLYS_SOURCE_DIR/hibernate-spatial-oracle-1.1.jar
-ORACLE_JDBC=$FLYS_SOURCE_DIR/ojdbc5.jar
-
 SCRIPT_DIR=$(readlink -f `dirname $0`)
 usage(){
     cat << EOF
@@ -36,11 +33,14 @@
 Create a flys package
 
 OPTIONS:
-   -?, --help                      Show this message
-   -w                              The working directory to use. (do not use spaces in path)
-                                   Default: $DEFAULT_WD
-   -t                              Tag the current default branch as "VERSION"
-   -o, --oracle                    Release is for oracle.
+   -?, --help          Show this message
+   -w                  The working directory to use (do not use spaces in path)
+                       Default: $DEFAULT_WD
+   -t                  Tag the current default branch as "VERSION"
+   -o, --oracle        Release is for oracle.
+                       Suitable jar-files for JDBC driver and
+                       hibernate-spatial have to be given with the
+                       environment variables ORACLE_JDBC and ORACLE_HIBERNATE
    VERSION must be in the format MAYOR.MINOR.PATCH or default
 EOF
 exit 0

http://dive4elements.wald.intevation.org