source:
tol/toltcl/bin/tolsh.sh
@
87c8e82
| Last change on this file since 87c8e82 was 87c8e82, checked in by , 11 years ago | |
|---|---|
|
|
| File size: 311 bytes | |
| Line | |
|---|---|
| 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}/tolsh "${@}" |
Note: See TracBrowser
for help on using the repository browser.
