Debian Codegraph @

release/Linux/scripts/treeannotator

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 if [scip-shell system . . `[`. -z "$BEAST" ]; then
4 ## resolve links - $0 may be a link to application
5 PRG="$0"
6
7 # need this for relative symlinks
8 while [scip-shell system . . `[`. -h "$PRG" ] ; do
9 ls=`lsscip-shell system . . ls. -ld "$PRG"`
10 link=`exprscip-shell system . . expr. "$ls" : '.*-> \(.*\)$'`
11 if exprscip-shell system . . expr. "$link" : '/.*scip-shell filesystem . . `/.*`.' > /dev/nullscip-shell filesystem . . `/dev/null`.; then
12 PRG="$link"
13 else
14 PRG="`dirnamescip-shell system . . dirname. "$PRG"`/$link"
15 fi
16 done
17
18 # make it fully qualified
19 saveddir=`pwdscip-shell system . . pwd.`
20 BEAST0=`dirnamescip-shell system . . dirname. "$PRG"`/..
21 BEAST=`cd "$BEAST0" && pwdscip-shell system . . pwd.`
22 cd "$saveddir"
23 fi
24
25 BEAST_LIB="$BEAST/lib"
26 javascip-shell system . . java. -Xms64m -Xmx4096m -Djava.library.path="$BEAST_LIB" -cp "$BEAST_LIB/beast.jar" dr.app.tools.TreeAnnotator $*
27