diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-03-06 21:55:01 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-03-07 10:08:46 +0100 |
commit | b47094ce96ffcab8c1b6b0d5f4736a616b69a9ec (patch) | |
tree | 74401c6f41dfb8ce414f1f5f2ea45f48f52c6602 | |
parent | 75be005e8bdcbf86f9ad167a8737126dda98a444 (diff) | |
download | upstream-b47094ce96ffcab8c1b6b0d5f4736a616b69a9ec.tar.gz upstream-b47094ce96ffcab8c1b6b0d5f4736a616b69a9ec.tar.bz2 upstream-b47094ce96ffcab8c1b6b0d5f4736a616b69a9ec.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>
-rw-r--r-- | include/package-defaults.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 6672b67b53..05ed05d0c6 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -62,7 +62,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 |