check for empty patch directories
SVN-Revision: 5086
This commit is contained in:
parent
688443a803
commit
6779edb40e
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ endef
|
||||||
ifneq ($(strip $(PKG_UNPACK)),)
|
ifneq ($(strip $(PKG_UNPACK)),)
|
||||||
define Build/Prepare/Default
|
define Build/Prepare/Default
|
||||||
$(PKG_UNPACK)
|
$(PKG_UNPACK)
|
||||||
@if [ -d ./patches ]; then \
|
@if [ -d ./patches -a "$$$$(ls ./patches | wc -l)" -gt 0 ]; then \
|
||||||
$(PATCH) $(PKG_BUILD_DIR) ./patches; \
|
$(PATCH) $(PKG_BUILD_DIR) ./patches; \
|
||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue