From eca77d0429f531a6f377da5d25d8ee72cd98a449 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 17 Sep 2013 15:45:53 -0300 Subject: [PATCH] apply-patches.sh: avoid reversed/already applied patches Disable reversed/already applied patches fallout from commit 5871b791995ebe295db7dca608afe3f293ce8953 Reverse patches are bad, they may unfix things with version bumps and just sneak under the radar with pure batch mode. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- support/scripts/apply-patches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh index 1ebaea990f..ff72b45240 100755 --- a/support/scripts/apply-patches.sh +++ b/support/scripts/apply-patches.sh @@ -84,7 +84,7 @@ function apply_patch { exit 1 fi echo $patch >> ${builddir}/.applied_patches_list - ${uncomp} "${path}/$patch" | patch -g0 -p1 -E -d "${builddir}" -t + ${uncomp} "${path}/$patch" | patch -g0 -p1 -E -d "${builddir}" -t -N if [ $? != 0 ] ; then echo "Patch failed! Please fix ${patch}!" exit 1