envsetup: Automatically replace qcom/opensource with qcom-opensource
CAF doesn't use qcom/opensource in their paths, so automatically adjust the project path for this when using cafremote Change-Id: I6252fbd1c3e8a545c0d54eefb6b730b893821574
This commit is contained in:
parent
1cdd380e69
commit
b52c70881d
1 changed files with 4 additions and 0 deletions
|
@ -316,6 +316,10 @@ function cafremote()
|
|||
then
|
||||
PROJECT="build"
|
||||
fi
|
||||
if [[ $PROJECT =~ "qcom/opensource" ]];
|
||||
then
|
||||
PROJECT=$(echo $PROJECT | sed -e "s#qcom\/opensource#qcom-opensource#")
|
||||
fi
|
||||
if (echo $PROJECT | grep -qv "^device")
|
||||
then
|
||||
local PFX="platform/"
|
||||
|
|
Loading…
Reference in a new issue