Starter script: systemwide JAR location (user can override it in environment.sh by JAR variable) v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Thu, 02 Jan 2014 19:27:09 +0100
branchv_0
changeset 111259c0c64321b
parent 110 ff6bbd0223c3
child 112 de0bcc3859cf
Starter script: systemwide JAR location (user can override it in environment.sh by JAR variable)
scripts/sql-dk.sh
     1.1 --- a/scripts/sql-dk.sh	Thu Jan 02 19:25:35 2014 +0100
     1.2 +++ b/scripts/sql-dk.sh	Thu Jan 02 19:27:09 2014 +0100
     1.3 @@ -4,8 +4,7 @@
     1.4      . ~/.sql-dk/environment.sh
     1.5  fi
     1.6  
     1.7 -# TODO: systemwide JAR location
     1.8 -JAR=~/projekty/SQL-DK/sql-dk/java/sql-dk/dist/sql-dk.jar;
     1.9 +[ -n "$JAR" ] || JAR="/usr/share/sql-dk/sql-dk.jar";
    1.10  
    1.11  MAIN_CLASS="info.globalcode.sql.dk.CLIStarter";
    1.12  CLASSPATH="$JAR:/usr/share/java/postgresql-jdbc4.jar";