debian/fastDNAml-util
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | BINDIR=/usr/lib/fastdnaml/bin |
| 4 | |
| 5 | if [ $# -lt 1 ] ; then |
| 6 | echo "Usage: $0 <utility>" 1>&2 |
| 7 | echo " Existing utilities are:" |
| 8 | ls ${BINDIR} |
| 9 | exit 1 |
| 10 | fi |
| 11 | |
| 12 | WRAPPER=$0 |
| 13 | PROGRAM=$1 |
| 14 | shift |
| 15 | ARGS=$* |
| 16 | |
| 17 | if [ -x ${BINDIR}/${PROGRAM} ]; then |
| 18 | exec ${BINDIR}/${PROGRAM} ${ARGS} |
| 19 | else |
| 20 | echo "Usage: utility ${PROGRAM} does not exist in fastDNAml" |
| 21 | echo " Existing utilities are:" |
| 22 | ls ${BINDIR} |
| 23 | exit 1 |
| 24 | fi |