summaryrefslogtreecommitdiff
path: root/include/quilt.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-10-04 17:58:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-10-04 17:58:12 +0000
commit5f87e72dae8c79fd047d95a7cf9fca55b71a7299 (patch)
treedc93a350ff1bb3ce950a1661560678d1f42294d6 /include/quilt.mk
parent7d179076caa8a190bc768317eaec771de111b567 (diff)
downloadmtk-20170518-5f87e72dae8c79fd047d95a7cf9fca55b71a7299.zip
mtk-20170518-5f87e72dae8c79fd047d95a7cf9fca55b71a7299.tar.gz
mtk-20170518-5f87e72dae8c79fd047d95a7cf9fca55b71a7299.tar.bz2
fix quilt patch check
SVN-Revision: 9121
Diffstat (limited to 'include/quilt.mk')
-rw-r--r--include/quilt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/quilt.mk b/include/quilt.mk
index daeef94..1b191dd 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