summaryrefslogtreecommitdiffstats
path: root/core/Makefile
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2012-06-02 09:22:31 -0700
committerYing Wang <wangying@google.com>2012-06-02 09:22:31 -0700
commit28a181759079c34f8776f98f553e56554b527069 (patch)
treef78004471611d675776b5a3f0a120601ccd58b21 /core/Makefile
parente7af5e2428d6c831acb73fac6547c3a780dca729 (diff)
downloadbuild-28a181759079c34f8776f98f553e56554b527069.zip
build-28a181759079c34f8776f98f553e56554b527069.tar.gz
build-28a181759079c34f8776f98f553e56554b527069.tar.bz2
Don't use .. to reference the target file.
Change-Id: I1d08db81c37853f5bf0bdf5dbe848634e6ae9f61
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index b88399e..78b9f1e 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -831,7 +831,7 @@ $(INSTALLED_PLATFORM_ZIP) : $(INTERNAL_SYSTEMIMAGE_FILES)
$(TARGET_COPY_OUT_SYSTEM) \
$(patsubst $(PRODUCT_OUT)/%, %, $(TARGET_OUT_NOTICE_FILES))
ifeq (true,$(PLATFORM_ZIP_ADD_JAVA))
- $(hide) cd $(OUT_DIR) && zip -qry ../$(INSTALLED_PLATFORM_ZIP) $(PDK_PLATFORM_JAVA_ZIP_CONTENTS)
+ $(hide) cd $(OUT_DIR) && zip -qry $(patsubst $(OUT_DIR)/%,%,$@) $(PDK_PLATFORM_JAVA_ZIP_CONTENTS)
endif