summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChirayu Desai <cdesai@cyanogenmod.org>2013-05-01 10:18:08 (GMT)
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-05-06 06:14:13 (GMT)
commit379c0fec61184253f686f303fd02575b40e592b3 (patch)
tree7cba50617e4d948dd28554840c803d7bed75b8d8
parentc8a2187d5f6e36a44676e65d46c192baa34606c5 (diff)
downloadbuild-379c0fec61184253f686f303fd02575b40e592b3.zip
build-379c0fec61184253f686f303fd02575b40e592b3.tar.gz
build-379c0fec61184253f686f303fd02575b40e592b3.tar.bz2
envsetup: use $(CURDIR) for getting current directory
Change-Id: I5f00faf64ec31d86dd2e48ec038748ce8499380b
-rw-r--r--core/envsetup.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/envsetup.mk b/core/envsetup.mk
index 862b7f0..7a3ec92 100644
--- a/core/envsetup.mk
+++ b/core/envsetup.mk
@@ -142,7 +142,7 @@ ifeq (,$(strip $(OUT_DIR_COMMON_BASE)))
ifneq ($(TOPDIR),)
OUT_DIR := $(TOPDIR)out
else
-OUT_DIR := $(shell python -c 'import os,sys; print os.path.realpath(sys.argv[1])' .)/out
+OUT_DIR := $(CURDIR)/out
endif
else
OUT_DIR := $(OUT_DIR_COMMON_BASE)/$(notdir $(PWD))