source: tol/toltcl/bin/tolsh.sh @ 87c8e82

1941-docker-image-to-testdevel
Last change on this file since 87c8e82 was 87c8e82, checked in by Jorge Pérez <josp.jorge@…>, 11 years ago

refs #1860, script de arranque de tolsh basado en tolenv.sh

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7055 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100755
File size: 311 bytes
Line 
1#!/bin/sh
2# Shell wrapper for TOL executable.
3
4SCRIPT=$(readlink -f "$0")
5SCRIPTPATH=$(dirname "$SCRIPT")
6echo $SCRIPTPATH
7
8if [ -f ${SCRIPTPATH}/tolenv.sh ] ; then
9  source ${SCRIPTPATH}/tolenv.sh
10else
11  echo "${SCRIPTPATH}/tolenv.sh not found, running without environment"
12fi
13
14exec ${SCRIPTPATH}/tolsh "${@}"
Note: See TracBrowser for help on using the repository browser.