From bacc63e9b7f9ef7b9576a52c95a53ff6aefa5473 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 28 May 2009 16:17:16 +0000 Subject: [PATCH] merge quilt return code checks from trunk to 8.09 SVN-Revision: 16146 --- include/quilt.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/quilt.mk b/include/quilt.mk index 70bc84e4cc..d7342c959f 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -128,7 +128,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 >/dev/null 2>&1; fi); fi touch $$@ quilt-check: $(STAMP_PREPARED) FORCE -- 2.30.2