OSDN Git Service

envsetup: use $(CURDIR) for getting current directory
authorChirayu Desai <cdesai@cyanogenmod.org>
Wed, 1 May 2013 10:18:08 +0000 (15:48 +0530)
committerSteve Kondik <steve@cyngn.com>
Sun, 4 Sep 2016 04:47:36 +0000 (21:47 -0700)
Change-Id: I5f00faf64ec31d86dd2e48ec038748ce8499380b

core/envsetup.mk

index 0d78ea7..aadaa56 100644 (file)
@@ -200,7 +200,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))