aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-03-06 21:55:01 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-03-07 09:59:08 +0100
commit359273d7f6e5733b84a263f8d3023e9d4adc7d40 (patch)
tree645ec7a6cbed31669df424c9a84a76284d8ec348 /include
parentf505fb07f3e5de20ec244fab0badacb9f77110ee (diff)
downloadupstream-359273d7f6e5733b84a263f8d3023e9d4adc7d40.tar.gz
upstream-359273d7f6e5733b84a263f8d3023e9d4adc7d40.tar.bz2
upstream-359273d7f6e5733b84a263f8d3023e9d4adc7d40.zip
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 <mschiffer@universe-factory.net>
Diffstat (limited to 'include')
-rw-r--r--include/package-defaults.mk2
1 files changed, 1 insertions, 1 deletions
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