Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 7, 2009, 10:44 AM   #1
phil1995
macrumors member
 
Join Date: Aug 2008
Editing my .bash_profile

I am trying to add a root path to my system for my android sdk. I created a .bash_profile under the ~/ and the contents are as below:

export PATH={PATH}:/Users/phil/android-sdk-mac_x86-1.5_r2/tools
export PATH={PATH}:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

However, if I type "echo $PATH" I get the following:

{PATH}:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

How can I get the "export "export PATH={PATH}:/Users/phil/android-sdk-mac_x86-1.5_r2/tools" to show up as a path?
phil1995 is offline   0 Reply With Quote
Old Jun 7, 2009, 11:06 AM   #2
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
Like so,
Code:
export PATH=$PATH:/Users/phil/android-sdk-mac_x86-1.5_r2/tools
export PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
angelwatt is offline   0 Reply With Quote
Old Jun 7, 2009, 06:08 PM   #3
phil1995
Thread Starter
macrumors member
 
Join Date: Aug 2008
Quote:
Originally Posted by angelwatt View Post
Like so,
Code:
export PATH=$PATH:/Users/phil/android-sdk-mac_x86-1.5_r2/tools
export PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
Thank you very much
phil1995 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Editing on old G5 marlon69 Digital Video 12 Jun 9, 2013 11:42 AM
WidgetTerm forgets path settings after custom .bash_profile creation printz Mac Applications and Mac App Store 0 Apr 11, 2013 02:30 AM
rMBP: Editing video in iMovie, editing photos in Aperture - using Intel HD 4000 GPU? spaceballl MacBook Pro 1 Oct 26, 2012 06:42 AM
Problem editing .bash_profile octane OS X 10.8 Mountain Lion 2 Sep 22, 2012 06:10 AM
.bash_profile Kilamite OS X 10.8 Mountain Lion 5 Aug 8, 2012 03:12 PM

Forum Jump

All times are GMT -5. The time now is 12:42 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC