#!/bin/sh

# This scripts starts a new interactive shell,
# in which the opetope tcl directory is appended
# to the PATH variable.

cd `dirname $0`
OPETOPETCLDIR=`pwd`
cd -
echo $OPETOPETCLDIR
exec env PATH=$PATH:$OPETOPETCLDIR bash
# The following does not work as expected, because .profile is
# read and overrides the PATH:
# exec env PATH=$PATH:$OPETOPETCLDIR bash --login
# exec env PATH=$PATH:$OPETOPETCLDIR bash --login --noprofile
