force patches to be converted -p1
authorMike Frysinger <vapier@gentoo.org>
Tue, 19 Oct 2004 14:30:48 +0000 (14:30 -0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 19 Oct 2004 14:30:48 +0000 (14:30 -0000)
toolchain/patch-kernel.sh

index 4156c229856deca929ee7f25e3d11f682f5b7c9f..79401c2a74f21af93ddc91abd037df92bcb9f0de 100755 (executable)
@@ -36,7 +36,7 @@ for i in ${patchdir}/${patchpattern} ; do
     esac
     echo ""
     echo "Applying ${i} using ${type}: " 
-    ${uncomp} ${i} | patch ${patch_level:--p1} -E -d ${targetdir} 
+    ${uncomp} ${i} | patch -p1 -E -d ${targetdir} 
     if [ $? != 0 ] ; then
         echo "Patch failed!  Please fix $i!"
        exit 1