Debian Codegraph @

release_phylogeography/common/bin/rate_indicator_bf

raw symbols SCIP
1 #!/bin/sh
2
3 if [ -z "$PHYLOGEOGRAPHY" ]; then
4 ## resolve links - $0 may be a link to application
5 PRG="$0"
6
7 # need this for relative symlinks
8 while [ -h "$PRG" ] ; do
9 ls=`ls -ld "$PRG"`
10 link=`expr "$ls" : '.*-> \(.*\)$'`
11 if expr "$link" : '/.*' > /dev/null; then
12 PRG="$link"
13 else
14 PRG="`dirname "$PRG"`/$link"
15 fi
16 done
17
18 # make it fully qualified
19 saveddir=`pwd`
20 PHYLOGEOGRAPHY0=`dirname "$PRG"`/..
21 PHYLOGEOGRAPHY=`cd "$PHYLOGEOGRAPHY0" && pwd`
22 cd "$saveddir"
23 fi
24
25 PHYLOGEOGRAPHY_LIB=$PHYLOGEOGRAPHY/lib
26 java -Xmx512m -cp $PHYLOGEOGRAPHY_LIB/phylogeography.jar dr.app.phylogeography.tools.RateIndicatorBF $*
27