From 5e44df0970681f6e7a2cfa54ccdb841ef18bd932 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 17 Dec 2020 22:13:41 +0100 Subject: [PATCH] - helpers: fix APPLY_PATCHES #2 --- make/helpers.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/helpers.mk b/make/helpers.mk index 08648f96..bcd07642 100644 --- a/make/helpers.mk +++ b/make/helpers.mk @@ -16,7 +16,7 @@ endef define apply_patches l=$(strip $(2)); test -z $$l && l=1; \ for i in $(1); do \ - if [ -e $$i ]; then \ + if [ -e $$i -o -e $(PATCHES)/$$i ]; then \ if [ -d $$i ]; then \ for p in $$i/*; do \ echo -e "$(TERM_YELLOW)Applying $${p#$(PATCHES)/}$(TERM_NORMAL)"; \