projects
/
openwrt
/
staging
/
pepe2k.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
688443a
)
check for empty patch directories
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 14 Oct 2006 15:09:03 +0000
(15:09 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 14 Oct 2006 15:09:03 +0000
(15:09 +0000)
SVN-Revision: 5086
include/package.mk
patch
|
blob
|
history
diff --git
a/include/package.mk
b/include/package.mk
index 706b38d12a20a1b43369f8b03b15535d8c87845d..87e76be2b53248470485c0c317310ce490111038 100644
(file)
--- a/
include/package.mk
+++ b/
include/package.mk
@@
-273,7
+273,7
@@
endef
ifneq ($(strip $(PKG_UNPACK)),)
define Build/Prepare/Default
$(PKG_UNPACK)
- @if [ -d ./patches ]; then \
+ @if [ -d ./patches
-a "$$$$(ls ./patches | wc -l)" -gt 0
]; then \
$(PATCH) $(PKG_BUILD_DIR) ./patches; \
fi
endef