sql-dk.sh: support for JAVA_OPTIONS v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sun, 24 May 2015 18:45:46 +0200
branchv_0
changeset 19988de2602deb3
parent 198 03d8492e2ca8
child 200 2e351d7c26c4
sql-dk.sh: support for JAVA_OPTIONS
scripts/sql-dk.sh
     1.1 --- a/scripts/sql-dk.sh	Sun May 24 17:35:37 2015 +0200
     1.2 +++ b/scripts/sql-dk.sh	Sun May 24 18:45:46 2015 +0200
     1.3 @@ -36,4 +36,4 @@
     1.4  LOGGER="-Djava.util.logging.config.class=info.globalcode.sql.dk.logging.LoggerInitializer";
     1.5  [ -n "$LOG_LEVEL" ] && LOGGER_LEVEL="-Dinfo.globalcode.sql.dk.logging.LoggerInitializer.level=$LOG_LEVEL";
     1.6  
     1.7 -java $LOGGER $LOGGER_LEVEL -cp "$CLASS_PATH" $MAIN_CLASS "$@"
     1.8 +java "${JAVA_OPTIONS[@]}" $LOGGER $LOGGER_LEVEL -cp "$CLASS_PATH" $MAIN_CLASS "$@"