diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-18 20:57:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-18 20:57:31 +0000 |
commit | a72e82f6dce4a01911a128fc5b8cd6b0828c2bc8 (patch) | |
tree | 271c4da24b4e9058f56f4bc0f6175d315ad1ea60 /toolchain/patch-kernel.sh | |
parent | d9e09adac2e1ad37bddb6725c1eafcc7b0efae35 (diff) |
allow for overriding the default -p1 arguement to patch
Diffstat (limited to 'toolchain/patch-kernel.sh')
-rwxr-xr-x | toolchain/patch-kernel.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/patch-kernel.sh b/toolchain/patch-kernel.sh index 79401c2a7..4156c2298 100755 --- a/toolchain/patch-kernel.sh +++ b/toolchain/patch-kernel.sh @@ -36,7 +36,7 @@ for i in ${patchdir}/${patchpattern} ; do esac echo "" echo "Applying ${i} using ${type}: " - ${uncomp} ${i} | patch -p1 -E -d ${targetdir} + ${uncomp} ${i} | patch ${patch_level:--p1} -E -d ${targetdir} if [ $? != 0 ] ; then echo "Patch failed! Please fix $i!" exit 1 |