aboutsummaryrefslogtreecommitdiffstats
path: root/include/quilt.mk
diff options
context:
space:
mode:
authorPeter Denison <openwrt@marshadder.org>2007-07-17 20:05:08 +0000
committerPeter Denison <openwrt@marshadder.org>2007-07-17 20:05:08 +0000
commit0cab184232df0beece8460f2a84e27854309d107 (patch)
tree695f6fedfec4da30e9fcb6e58c42d1f53777e48d /include/quilt.mk
parentf192b6afc86c4209fb887ae2e58d52ccbaa1485d (diff)
downloadmaster-187ad058-0cab184232df0beece8460f2a84e27854309d107.tar.gz
master-187ad058-0cab184232df0beece8460f2a84e27854309d107.tar.bz2
master-187ad058-0cab184232df0beece8460f2a84e27854309d107.zip
cope with QUILT=1 when there are no patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8022 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/quilt.mk')
-rw-r--r--include/quilt.mk2
1 files changed, 1 insertions, 1 deletions
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