|
|
@ -258,7 +258,7 @@ function aospremote()
|
|
|
|
return 1
|
|
|
|
return 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
git remote rm aosp 2> /dev/null
|
|
|
|
git remote rm aosp 2> /dev/null
|
|
|
|
PROJECT=$(pwd -P | sed "s#$ANDROID_BUILD_TOP\/##")
|
|
|
|
PROJECT=$(pwd -P | sed -e "s#$ANDROID_BUILD_TOP\/##; s#-caf.*##; s#\/default##")
|
|
|
|
if (echo $PROJECT | grep -qv "^device")
|
|
|
|
if (echo $PROJECT | grep -qv "^device")
|
|
|
|
then
|
|
|
|
then
|
|
|
|
PFX="platform/"
|
|
|
|
PFX="platform/"
|
|
|
@ -275,7 +275,7 @@ function cafremote()
|
|
|
|
return 1
|
|
|
|
return 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
git remote rm caf 2> /dev/null
|
|
|
|
git remote rm caf 2> /dev/null
|
|
|
|
PROJECT=$(pwd -P | sed "s#$ANDROID_BUILD_TOP\/##")
|
|
|
|
PROJECT=$(pwd -P | sed -e "s#$ANDROID_BUILD_TOP\/##; s#-caf.*##; s#\/default##")
|
|
|
|
if (echo $PROJECT | grep -qv "^device")
|
|
|
|
if (echo $PROJECT | grep -qv "^device")
|
|
|
|
then
|
|
|
|
then
|
|
|
|
PFX="platform/"
|
|
|
|
PFX="platform/"
|
|
|
|