From: Mirko Vogt Date: Thu, 22 Jan 2009 22:01:39 +0000 (+0000) Subject: do not ignore exit codes of quilt anymore (by nbd) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=02b9748edcdeff968ca4062b8dc360d4b2ca8563 do not ignore exit codes of quilt anymore (by nbd) SVN-Revision: 14149 --- diff --git a/include/quilt.mk b/include/quilt.mk index d3233d8238..c47a9262d9 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