View Single Post
  #1  
Old 22nd November 2011, 22:38
labrat labrat is offline
Junior Member
 
Join Date: Nov 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 11 line Bash_profile has no end?

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
Reply With Quote
Sponsored Links