From: Jo-Philipp Wich Date: Wed, 3 Nov 2010 20:38:56 +0000 (+0000) Subject: [backfire] partly merge r23314 (#7745) X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=abd689501f5aced437e6ece21ccc125c37ec5f5d;p=openwrt%2Fsvn-archive%2Farchive.git [backfire] partly merge r23314 (#7745) SVN-Revision: 23841 --- diff --git a/scripts/patch-kernel.sh b/scripts/patch-kernel.sh index 5455a0cf8d..8bdaa48af2 100755 --- a/scripts/patch-kernel.sh +++ b/scripts/patch-kernel.sh @@ -37,7 +37,7 @@ for i in ${patchdir}/${patchpattern} ; do [ -d "${i}" ] && echo "Ignoring subdirectory ${i}" && continue echo "" echo "Applying ${i} using ${type}: " - ${uncomp} ${i} | patch -p1 -E -d ${targetdir} + ${uncomp} ${i} | patch -f -p1 -E -d ${targetdir} if [ $? != 0 ] ; then echo "Patch failed! Please fix $i!" exit 1