OSDN Git Service

envsetup.sh: Fix handling of emulator prebuilts path.
authorDavid 'Digit' Turner <digit@google.com>
Tue, 16 Sep 2014 19:23:12 +0000 (21:23 +0200)
committerDavid 'Digit' Turner <digit@google.com>
Tue, 16 Sep 2014 19:27:33 +0000 (21:27 +0200)
commit286d0efa71cb4d5613533ca5d5b27cba3f9f10bb
treedc4bfab0c61ceec8b7d59118c80f0d88785448f7
parent89015ead725399dfbac65dc9a8512b99d572c5a6
envsetup.sh: Fix handling of emulator prebuilts path.

Due to a bad previous merge, everytime 'lunch' is called, a new
instance of prebuilts/android-emulator/<system>/ will be added
to your PATH.

This patch fixes the issue by removing the duplicate code that
should have been removed during the merge. Note that android-emulator
is still being added once to the PATH by code that appears before
in the script.

BUG=17524154

Change-Id: Ic281f71ad640e52d744f968f5c02b428cf6310dc
envsetup.sh