source:
tol/tolbase/bin/tolbase.sh
@
00d6ed4
| Last change on this file since 00d6ed4 was 00d6ed4, checked in by , 11 years ago | |
|---|---|
|
|
| File size: 313 bytes | |
| Rev | Line | |
|---|---|---|
| [00d6ed4] | 1 | #!/bin/sh |
| 2 | # Shell wrapper for TOL executable. | |
| 3 | ||
| 4 | SCRIPT=$(readlink -f "$0") | |
| 5 | SCRIPTPATH=$(dirname "$SCRIPT") | |
| 6 | echo $SCRIPTPATH | |
| 7 | ||
| 8 | if [ -f ${SCRIPTPATH}/tolenv.sh ] ; then | |
| 9 | source ${SCRIPTPATH}/tolenv.sh | |
| 10 | else | |
| 11 | echo "${SCRIPTPATH}/tolenv.sh not found, running without environment" | |
| 12 | fi | |
| 13 | ||
| 14 | exec ${SCRIPTPATH}/tolbase "${@}" |
Note: See TracBrowser
for help on using the repository browser.
