diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2013-09-17 15:45:53 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-09-17 23:07:34 +0200 |
commit | eca77d0429f531a6f377da5d25d8ee72cd98a449 (patch) | |
tree | cdf1ae5ba174596b397e5f451864a7ce7ac5c058 | |
parent | 238d13ab47dfaabad7296c13a2903ad422ed2fda (diff) | |
download | buildroot-eca77d0429f531a6f377da5d25d8ee72cd98a449.tar.gz buildroot-eca77d0429f531a6f377da5d25d8ee72cd98a449.zip |
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 <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rwxr-xr-x | support/scripts/apply-patches.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |