apply-patches.sh: avoid reversed/already applied patches

Disable reversed/already applied patches fallout from commit
5871b79199
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>
This commit is contained in:
Gustavo Zacarias 2013-09-17 15:45:53 -03:00 committed by Peter Korsgaard
parent 238d13ab47
commit eca77d0429

View File

@ -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