mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 05:04:04 +02:00
check for empty patch directories
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5086 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f0845034ee
commit
ddbaed92a0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user