fail in .quilt_patched when there were patches that didn't apply
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

--- a/include/quilt.mk
+++ b/include/quilt.mk
@@ -61,7 +61,7 @@
 		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

comments