From: Peter Denison Date: Tue, 17 Jul 2007 20:05:08 +0000 (+0000) Subject: cope with QUILT=1 when there are no patches X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b375d32a48a04876e17925a56dff5c8c30df98ac;p=openwrt%2Fstaging%2Fmans0n.git cope with QUILT=1 when there are no patches SVN-Revision: 8022 --- diff --git a/include/quilt.mk b/include/quilt.mk index 2e7941eaed..fb5528e884 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -61,7 +61,7 @@ $(STAMP_PATCHED): $(STAMP_PREPARED) cd $(PKG_BUILD_DIR)/patches; \ find * -type f \! -name series | sort > series; \ ) - [ -f "$(PKG_BUILD_DIR)/patches/series" ] && cd $(PKG_BUILD_DIR); quilt push -a + -[ -s "$(PKG_BUILD_DIR)/patches/series" ] && (cd $(PKG_BUILD_DIR); quilt push -a) touch $@ define Quilt/RefreshDir