mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-01-27 18:19:53 +00:00
check for empty patch directories
SVN-Revision: 5086
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user