Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd November 2011, 21: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
  #2  
Old 23rd November 2011, 01:58
nbhadauria nbhadauria is offline
Member
 
Join Date: Aug 2010
Location: New Delhi, India
Posts: 79
Thanks: 1
Thanked 13 Times in 13 Posts
Send a message via Skype™ to nbhadauria
 
Default

file is ok ..

what about .bashrc ?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron errors guimnk General 1 5th April 2011 09:20
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
help on /etc/rc0.d/K20dnsctl -> ../init.d/dnsctl zimele General 13 23rd August 2006 16:06


All times are GMT +2. The time now is 19:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.