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.
Thread Tools Display Modes
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?

# base-files version 4.0-6
# ~/.bash_profile: executed by bash(1) for login shells.
if [ -f "${HOME}/.bashrc" ] ; then
  source "${HOME}/.bashrc"
export RSFROOT=/usr/local/rsf
if [ -n "$PYTHONPATH" ]; then
export PATH=$PATH:$RSFROOT/bin
export DATAPATH=/var/tmp/
Reply With Quote
Sponsored Links
Old 23rd November 2011, 02:58
nbhadauria nbhadauria is offline
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

file is ok ..

what about .bashrc ?
Reply With Quote


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 10:20
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 22:13
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 09:20
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 14:06
help on /etc/rc0.d/K20dnsctl -> ../init.d/dnsctl zimele General 13 23rd August 2006 17:06

All times are GMT +2. The time now is 17:25.

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