I have installed repo and created the ~/bin etc.

However, when I open the bin folder the repo is a gedit file, how do I make it so that the file is executable?


Give executable permission to ~/bin/repo,

chmod a+x ~/bin/repo
  • already have done that and it does not work it executes at gedit... – user212925 Dec 20 '13 at 2:21
  • did you download repo from git-repo-downloads? – Avinash Raj Dec 20 '13 at 2:23
  • I have it installed from the ppa – user212925 Dec 20 '13 at 2:24
  • see this source.android.com/source/downloading.html – Avinash Raj Dec 20 '13 at 2:28
  • perhaps the error I am receiving with will you /home/cod3boy/bin/repo: line 1: syntax error near unexpected token newline' /home/cod3boy/bin/repo: line 1: <!DOCTYPE html>' – user212925 Dec 20 '13 at 2:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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