diff options
author | luca020400 <luca.stefani.ge1@gmail.com> | 2016-05-19 21:02:51 +0200 |
---|---|---|
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | 2016-05-19 12:04:51 -0700 |
commit | 68301b2b87e5f485093089a56a0025c2b5d0e8b2 (patch) | |
tree | 9831c68d341d95be66e1e688d4d1223c7127c354 /envsetup.sh | |
parent | fbd7c1cdb0b361cf35f7b3323019806e149c6c00 (diff) | |
download | build-68301b2b87e5f485093089a56a0025c2b5d0e8b2.zip build-68301b2b87e5f485093089a56a0025c2b5d0e8b2.tar.gz build-68301b2b87e5f485093089a56a0025c2b5d0e8b2.tar.bz2 |
build: Fix caf and aospremote
Change-Id: I8ad28d71254941c0aacb91b1c6c702f9f13caf5f
Diffstat (limited to 'envsetup.sh')
-rw-r--r-- | envsetup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/envsetup.sh b/envsetup.sh index 23012ce..03a6424 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -1710,7 +1710,7 @@ function aospremote() return 1 fi git remote rm aosp 2> /dev/null - PROJECT=${$(pwd -P)#$ANDROID_BUILD_TOP/} + PROJECT=$(pwd -P | sed "s#$ANDROID_BUILD_TOP\/##") if (echo $PROJECT | grep -qv "^device") then PFX="platform/" @@ -1727,7 +1727,7 @@ function cafremote() return 1 fi git remote rm caf 2> /dev/null - PROJECT=${$(pwd -P)#$ANDROID_BUILD_TOP/} + PROJECT=$(pwd -P | sed "s#$ANDROID_BUILD_TOP\/##") if (echo $PROJECT | grep -qv "^device") then PFX="platform/" |