Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to install depot_tools here are the instructions.

I downloaded the file from this:

svn co http://src.chromium.org/svn/trunk/tools/depot_tools

I wanted to install it in /usr/local so I moved the download there via gui.

The next part is:

export PATH="$PATH":`pwd`/depot_tools

So I went into .bash_login and changed this:

export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"

to this:

export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH:/usr/local/depot_tools"

Terminal wont recognize any of the commands gclient, gcl, git-cl, repo.

What am I doing wrong?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Did you source the ~/.bash_login after modifying it? Editing a file does not automatically load it into the current shell. Try running:

source ~/.bash_login

Just starting a new terminal emulator may not source ~/.bash_profile; it depends on how the terminal program is invoked.

share|improve this answer
    
Perfect, thanks. –  ThomasReggi Oct 12 '11 at 3:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.