From 359273d7f6e5733b84a263f8d3023e9d4adc7d40 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 6 Mar 2018 21:55:01 +0100 Subject: [PATCH] include/package-defaults.mk: fix default Build/Prepare with empty ./src Copying ./src/* would fail when src exists, but is empty or only contains hidden files. Signed-off-by: Matthias Schiffer --- include/package-defaults.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 6bbfdcc3cc..31e331b2d5 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -65,7 +65,7 @@ Build/Patch:=$(Build/Patch/Default) ifneq ($(strip $(PKG_UNPACK)),) define Build/Prepare/Default $(PKG_UNPACK) - [ ! -d ./src/ ] || $(CP) ./src/* $(PKG_BUILD_DIR) + [ ! -d ./src/ ] || $(CP) ./src/. $(PKG_BUILD_DIR) $(Build/Patch) endef endif -- 2.25.1