Load ~/.sql-dk/environment.sh if exists v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Mon, 30 Dec 2013 15:50:05 +0100
branchv_0
changeset 102ff47349e24bf
parent 101 97b0d9069133
child 103 5410b6afc839
Load ~/.sql-dk/environment.sh if exists
scripts/sql-dk.sh
     1.1 --- a/scripts/sql-dk.sh	Mon Dec 30 00:01:39 2013 +0100
     1.2 +++ b/scripts/sql-dk.sh	Mon Dec 30 15:50:05 2013 +0100
     1.3 @@ -1,5 +1,9 @@
     1.4  #!/bin/bash
     1.5  
     1.6 +if [ -f ~/.sql-dk/environment.sh ]; then # .sql-dk must match with DIR in Constants.java
     1.7 +    . ~/.sql-dk/environment.sh
     1.8 +fi
     1.9 +
    1.10  # TODO: systemwide JAR location
    1.11  JAR=~/projekty/SQL-DK/sql-dk/java/sql-dk/dist/sql-dk.jar;
    1.12