X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fquilt.mk;h=c47a9262d91df5f8b272058a0d8ca46ffc15e15b;hb=7a11cb572c208cca49828eeaf3a23d3988a816e8;hp=d3233d823895cbcd06a3e742bad047923f507d37;hpb=6d7fed16078bf2f727aa91621269af4002a7a510;p=openwrt.git 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