projects
/
openwrt
/
staging
/
lynxis
/
omap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check for empty patch directories
[openwrt/staging/lynxis/omap.git]
/
include
/
package.mk
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