From 70761e99b4843ad8d46cc70b46fbd3869344f041 Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 3 Nov 2010 20:38:56 +0000 Subject: [PATCH] [backfire] partly merge r23314 (#7745) git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23841 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/patch-kernel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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