summaryrefslogtreecommitdiffstats
path: root/core/definitions.mk
diff options
context:
space:
mode:
Diffstat (limited to 'core/definitions.mk')
-rw-r--r--core/definitions.mk12
1 files changed, 3 insertions, 9 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index 780d8fb..67f7166 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -243,15 +243,9 @@ endef
###########################################################
define find-subdir-assets
-$(if $(1),\
- $(patsubst ./%,%, $(foreach dir,$(1),\
- $(shell if [ -d $(dir) ] ; then\
- cd $(dir) ; find ./ -type f -and -not -type l ;\
- fi \
- ) \
- )) \
-, \
- $(warning Empty argument supplied to find-subdir-assets) \
+$(if $(1),$(patsubst ./%,%, \
+ $(shell if [ -d $(1) ] ; then cd $(1) ; find ./ -type f -and -not -type l ; fi)), \
+ $(warning Empty argument supplied to find-subdir-assets) \
)
endef