view flys-aft/bin/run.sh @ 4989:f4d61ac84b76 dami

If we bother to check if the file is readable we might also bother to check if it's a file at all. Thanks to teichmann for noticing
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 14 Feb 2013 10:54:02 +0100
parents f72c253663fc
children
line wrap: on
line source
#!/bin/bash

bin_dir=`dirname $0`
bin_dir=`readlink -f $bin_dir`
exec java \
    -Dlog4j.configuration=file://$bin_dir/log4j.properties \
    -Dconfig.file=$bin_dir/../doc/conf-oracle.xml \
    -jar $bin_dir/etl.jar

http://dive4elements.wald.intevation.org