From: Felix Fietkau Date: Sun, 29 Jun 2008 00:06:26 +0000 (+0000) Subject: fix bogus quilt patch apply errors X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b2483cf23aec066a9b83efa35d24019b04ab8bc1;p=openwrt-luci.git fix bogus quilt patch apply errors --- diff --git a/libs/sgi-webuci/Makefile b/libs/sgi-webuci/Makefile index c679710b67..c7f70eb5c8 100644 --- a/libs/sgi-webuci/Makefile +++ b/libs/sgi-webuci/Makefile @@ -24,7 +24,7 @@ $(BOA_DIR)/.prepared: $(BOA_FILE) $(BOA_DIR)/.patched: $(BOA_DIR)/.prepared $(BOA_PATCHDIR)/series (cd $(BOA_DIR); \ if [ -x "$$(which quilt 2>/dev/null)" ]; then \ - quilt push -a; \ + [ "$$(quilt top 2>/dev/null)" = "$$(tail -n1 patches/series)" ] || quilt push -a; \ else \ cat patches/*.patch | patch -p1; \ fi; \