From: nbd Date: Thu, 4 Oct 2007 17:58:12 +0000 (+0000) Subject: fix quilt patch check X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/559432f6fd39d56c43fd0eab4f56d287814a4405 fix quilt patch check git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9121 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/quilt.mk b/include/quilt.mk index daeef9431..1b191ddcb 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -123,7 +123,7 @@ $(STAMP_PATCHED): $(STAMP_PREPARED) touch $@ $(STAMP_CHECKED): $(STAMP_PATCHED) - if [ -s "$(PKG_BUILD_DIR)/patches/series" ]; then (cd $(PKG_BUILD_DIR); quilt push -a); fi + if [ -s "$(PKG_BUILD_DIR)/patches/series" ]; then (cd $(PKG_BUILD_DIR); quilt next >/dev/null 2>&1 && quilt push -a || quilt top >/dev/null 2>&1); fi touch $@ define Build/Quilt