diff options
author | David Ferguson <ferguson.david@gmail.com> | 2012-10-04 10:15:58 -0400 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 16:12:05 -0700 |
commit | 9a26f6e690247a672bb6382e0927e3be2739b68f (patch) | |
tree | 910625e344f15835b749792164596be65ce503ce | |
parent | 0eddc2fe7fdc230bb035e4621d5a92b32052db91 (diff) | |
download | build-9a26f6e690247a672bb6382e0927e3be2739b68f.tar.gz build-9a26f6e690247a672bb6382e0927e3be2739b68f.tar.bz2 build-9a26f6e690247a672bb6382e0927e3be2739b68f.zip |
build: work around missing readlink -f on Mac
Change-Id: I5d56366cf33a2b02f1886c87815d00cff279779d
-rw-r--r-- | core/envsetup.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/envsetup.mk b/core/envsetup.mk index 5f43cf9d7..eb19f4fba 100644 --- a/core/envsetup.mk +++ b/core/envsetup.mk @@ -210,7 +210,7 @@ ifeq (,$(strip $(OUT_DIR_COMMON_BASE))) ifneq ($(TOPDIR),) OUT_DIR := $(TOPDIR)out else -OUT_DIR := $(shell readlink -f .)/out +OUT_DIR := $(shell python -c 'import os,sys; print os.path.realpath(sys.argv[1])' .)/out endif else OUT_DIR := $(OUT_DIR_COMMON_BASE)/$(notdir $(PWD)) |