From: jow Date: Wed, 3 Nov 2010 20:38:56 +0000 (+0000) Subject: [backfire] partly merge r23314 (#7745) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=70761e99b4843ad8d46cc70b46fbd3869344f041;p=10.03%2Fopenwrt.git [backfire] partly merge r23314 (#7745) git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23841 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/scripts/patch-kernel.sh b/scripts/patch-kernel.sh index 5455a0cf8..8bdaa48af 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