cope with QUILT=1 when there are no patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8022 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Peter Denison 2007-07-17 20:05:08 +00:00
parent f192b6afc8
commit 0cab184232

View File

@ -61,7 +61,7 @@ $(STAMP_PATCHED): $(STAMP_PREPARED)
cd $(PKG_BUILD_DIR)/patches; \
find * -type f \! -name series | sort > series; \
)
[ -f "$(PKG_BUILD_DIR)/patches/series" ] && cd $(PKG_BUILD_DIR); quilt push -a
-[ -s "$(PKG_BUILD_DIR)/patches/series" ] && (cd $(PKG_BUILD_DIR); quilt push -a)
touch $@
define Quilt/RefreshDir