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

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
App to edit Song info... thirumalkumaran iPod touch 6 Jul 24, 2012 09:35 AM
editing my host files could harm my mbp? Trance OS X 5 Nov 1, 2011 08:44 PM
I have to edit my host files.. can this harm my mac? Trance Mac OS X 10.7 Lion 8 Oct 9, 2011 03:12 PM
Help, messed up my .bash_profile and ls command is not working phil1995 OS X 7 Jun 7, 2009 05:43 AM


All times are GMT -5. The time now is 01:06 AM.

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

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