fail in .quilt_patched when there were patches that didn't apply
authorFelix Fietkau <nbd@openwrt.org>
Wed, 18 Jul 2007 07:28:31 +0000 (07:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 18 Jul 2007 07:28:31 +0000 (07:28 +0000)
SVN-Revision: 8024

include/quilt.mk

index fb5528e..7714f29 100644 (file)
@@ -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