From ceeb6f31e759c2d891f7e025a556dd89adb40b91 Mon Sep 17 00:00:00 2001 From: noz Date: Tue, 17 Jul 2007 20:05:08 +0000 Subject: [PATCH] cope with QUILT=1 when there are no patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8022 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/quilt.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/quilt.mk b/include/quilt.mk index 2e7941eae..fb5528e88 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 -- 2.35.1