OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1feb478
)
Fix mma/mmma by making gettop canonicalize TOP when set
author
Brian Carlstrom
<bdc@google.com>
Fri, 12 Sep 2014 07:33:25 +0000
(
00:33
-0700)
committer
Brian Carlstrom
<bdc@google.com>
Fri, 12 Sep 2014 16:37:25 +0000
(09:37 -0700)
Bug:
17253957
(cherry picked from commit
a5c4f178ae3f3e94b1d1dceae3cc8d3196633c4a
)
Change-Id: Id5f5a6e9c81d4332ef5a846423ea41384a053db6
envsetup.sh
patch
|
blob
|
history
diff --git
a/envsetup.sh
b/envsetup.sh
index
2bba626
..
aa20380
100644
(file)
--- a/
envsetup.sh
+++ b/
envsetup.sh
@@
-606,7
+606,8
@@
function gettop
{
local TOPFILE=build/core/envsetup.mk
if [ -n "$TOP" -a -f "$TOP/$TOPFILE" ] ; then
- echo $TOP
+ # The following circumlocution ensures we remove symlinks from TOP.
+ (cd $TOP; PWD= /bin/pwd)
else
if [ -f $TOPFILE ] ; then
# The following circumlocution (repeated below as well) ensures