OSDN Git Service

envsetup.sh: Fix the `reposync` function
authorAlan Orth <alan.orth@gmail.com>
Fri, 7 Sep 2012 08:44:27 +0000 (11:44 +0300)
committerSteve Kondik <steve@cyngn.com>
Sun, 4 Sep 2016 04:47:36 +0000 (21:47 -0700)
commitba4796692570a46793bbf92ec4d4fbdbd5ff299b
tree18c38a4452485c9ffebed47f8504970a840d2c92
parent89ddb127631ab735e608fb9e3d72ec0c883d7f6e
envsetup.sh: Fix the `reposync` function

It seems ionice can't find `repo` if it's in ~/bin, even if ~/bin
is in the user's $PATH.  Placing repo into /usr/bin or /usr/local/
bin works, but is undesirable (build instructions from both AOSP
and CM tell users to put repo into ~/bin, and repo likes to update
itself from time to time).

This forces the reposync function to use the full path to the repo
binary.

Change-Id: I9dc4a3d4ec3f39563e3a84de7321189700079c2e
envsetup.sh