From 7a11cb572c208cca49828eeaf3a23d3988a816e8 Mon Sep 17 00:00:00 2001
From: mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Thu, 22 Jan 2009 22:01:39 +0000
Subject: do not ignore exit codes of quilt anymore (by nbd)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14149 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 include/quilt.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'include')

diff --git a/include/quilt.mk b/include/quilt.mk
index d3233d823..c47a9262d 100644
--- a/include/quilt.mk
+++ b/include/quilt.mk
@@ -126,7 +126,7 @@ define Build/Quilt
 
   $(STAMP_CONFIGURED): $(STAMP_CHECKED) FORCE
   $(STAMP_CHECKED): $(STAMP_PATCHED)
-	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
+	if [ -s "$(PKG_BUILD_DIR)/patches/series" ]; then (cd $(PKG_BUILD_DIR); if quilt next >/dev/null 2>&1; then quilt push -a; else quilt top; fi >/dev/null 2>&1); fi
 	touch $$@
 
   quilt-check: $(STAMP_PREPARED) FORCE
-- 
cgit v1.2.3