summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-18 07:28:31 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-18 07:28:31 +0000
commit4e7d27c89015a1ca768e10254b1eb472d3e8021c (patch)
treea9c24d4d1fc7aa2ee649df48ec4ea4b8b8ce6812
parent7fca59b786c9ecc3890a2a749258309a43a2f4ac (diff)
fail in .quilt_patched when there were patches that didn't apply
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8024 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/quilt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/quilt.mk b/include/quilt.mk
index fb5528e884..7714f29119 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; \
)
- -[ -s "$(PKG_BUILD_DIR)/patches/series" ] && (cd $(PKG_BUILD_DIR); quilt push -a)
+ if [ -s "$(PKG_BUILD_DIR)/patches/series" ]; then (cd $(PKG_BUILD_DIR); quilt push -a); fi
touch $@
define Quilt/RefreshDir