From: Felix Fietkau Date: Thu, 28 May 2009 16:17:16 +0000 (+0000) Subject: merge quilt return code checks from trunk to 8.09 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=bacc63e9b7f9ef7b9576a52c95a53ff6aefa5473;p=openwrt%2Fsvn-archive%2Farchive.git merge quilt return code checks from trunk to 8.09 SVN-Revision: 16146 --- 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