X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b54f30fc99f6598f94eeaeee7199732255ef5fb0..9c0ae271fee1a6f7c9af9690bf228ebc90ad327e:/include/quilt.mk diff --git a/include/quilt.mk b/include/quilt.mk index d3233d823..8a63442dd 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 >/dev/null 2>&1; fi); fi touch $$@ quilt-check: $(STAMP_PREPARED) FORCE