Permalink
Newer
Older
100755 16 lines (13 sloc) 361 Bytes
Mar 19, 2013 @mlin Add dispatch script to set PHYLOCSF_BASE
1 #!/bin/bash
2
3 ARCH=`uname`.`uname -m`
4 case $0 in
5 ./*) export PHYLOCSF_BASE=`pwd` ;;
6 * ) export PHYLOCSF_BASE=`dirname $0`
7 esac
8
9 if [ -f "$PHYLOCSF_BASE/PhyloCSF.$ARCH" ]; then
10 $PHYLOCSF_BASE/PhyloCSF.$ARCH $@
11 else
12 echo "No PhyloCSF executable found for architecture: $ARCH"
13 echo "You may need to compile/install it according to the README."
14 exit 1
15 fi