From d8f9f7d8736063e2241701e856ad0eb785c8e6b9 Mon Sep 17 00:00:00 2001 From: Shinichiro Hamaji Date: Thu, 12 May 2016 18:15:28 +0900 Subject: [PATCH] Follow symlinks when using find for assets This should have been done in https://android-review.googlesource.com/#/c/43901/ Bug: 27954979 Change-Id: I663b5e87e0d844d37a59e404219ff5e7e364df74 --- core/definitions.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/definitions.mk b/core/definitions.mk index 420691dba..d5840b822 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -402,7 +402,7 @@ endef define find-subdir-assets $(sort $(if $(1),$(patsubst ./%,%, \ - $(shell if [ -d $(1) ] ; then cd $(1) ; find ./ -not -name '.*' -and -type f -and -not -type l ; fi)), \ + $(shell if [ -d $(1) ] ; then cd $(1) ; find -L ./ -not -name '.*' -and -type f ; fi)), \ $(warning Empty argument supplied to find-subdir-assets) \ )) endef -- 2.11.0