projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75be005
)
include/package-defaults.mk: fix default Build/Prepare with empty ./src
author
Matthias Schiffer
<
[email protected]
>
Tue, 6 Mar 2018 20:55:01 +0000
(21:55 +0100)
committer
Matthias Schiffer
<
[email protected]
>
Wed, 7 Mar 2018 09:08:46 +0000
(10:08 +0100)
Copying ./src/* would fail when src exists, but is empty or only contains
hidden files.
Signed-off-by: Matthias Schiffer <
[email protected]
>
include/package-defaults.mk
patch
|
blob
|
history
diff --git
a/include/package-defaults.mk
b/include/package-defaults.mk
index 6672b67b53c2c575fadf01b76e5e802939f14d12..05ed05d0c6ea3c5f97a903c6d9ba24adbac77583 100644
(file)
--- 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