Starter script: systemwide JAR location (user can override it in environment.sh by JAR variable)
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";