Hi all,
I'm just trying to add some env variables to my .bash_profile in order to run Madagascar through a Cygwin interface. I keep getting an "unexpected end of file" error, but for the life of me I cannot figure out the open loop or other syntax issue.
I'm sure it's something simple (see below), can anyone point out my error?
Code:
# base-files version 4.0-6
# ~/.bash_profile: executed by bash(1) for login shells.
#
if [ -f "${HOME}/.bashrc" ] ; then
source "${HOME}/.bashrc"
fi
export RSFROOT=/usr/local/rsf
if [ -n "$PYTHONPATH" ]; then
export PYTHONPATH=${PYTHONPATH}:$RSFROOT/lib
else
export PYTHONPATH=$RSFROOT/lib
fi
export PATH=$PATH:$RSFROOT/bin
export DATAPATH=/var/tmp/
Thanks.
-lr