OSDN Git Service

Deference symlinks when copying LOCAL_PICKUP_FILES.
authorYing Wang <wangying@google.com>
Fri, 1 May 2015 02:46:00 +0000 (19:46 -0700)
committerYing Wang <wangying@google.com>
Fri, 1 May 2015 02:46:00 +0000 (19:46 -0700)
Change-Id: I2399529ee9168bb93a4cad5daa61cd2ea500df04

core/tasks/tools/package-modules.mk

index bd9cf57..2af2e20 100644 (file)
@@ -58,5 +58,5 @@ $(my_package_zip) : $(my_built_modules)
        $(call copy-tests-in-batch,$(wordlist 1001,1200,$(PRIVATE_COPY_PAIRS)))
        $(call copy-tests-in-batch,$(wordlist 1201,9999,$(PRIVATE_COPY_PAIRS)))
        $(hide) $(foreach f, $(PRIVATE_PICKUP_FILES),\
-         cp -rf $(f) $(dir $@);)
+         cp -rfL $(f) $(dir $@);)
        $(hide) cd $(dir $@) && zip -rq $(notdir $@) *