From: Felix Fietkau Date: Sun, 29 Jun 2008 00:06:26 +0000 (+0000) Subject: fix bogus quilt patch apply errors X-Git-Tag: 0.8.0~738 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=b2483cf23aec066a9b83efa35d24019b04ab8bc1;p=project%2Fluci.git fix bogus quilt patch apply errors --- diff --git a/libs/sgi-webuci/Makefile b/libs/sgi-webuci/Makefile index c679710b6..c7f70eb5c 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; \