aboutsummaryrefslogtreecommitdiffstats
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
commit9e8d16ab3ff049da2877124ce5dd44b04cc8b7fd (patch)
tree55768c2d1b253fcbba5630cd6324078389cb6c3a
parent64722c42b561a7c99626248aa812535e5c907e3c (diff)
downloadupstream-9e8d16ab3ff049da2877124ce5dd44b04cc8b7fd.tar.gz
upstream-9e8d16ab3ff049da2877124ce5dd44b04cc8b7fd.tar.bz2
upstream-9e8d16ab3ff049da2877124ce5dd44b04cc8b7fd.zip
fix quilt patch check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9121 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/quilt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/quilt.mk b/include/quilt.mk
index daeef9431f..1b191ddcba 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