diff --git a/scripts/generate-kernel-patch b/scripts/generate-kernel-patch index c3221eaf0..2ff3ca1e3 100755 --- a/scripts/generate-kernel-patch +++ b/scripts/generate-kernel-patch @@ -48,8 +48,8 @@ function add_patch { exit 1 fi - sed -e "s:^--- [^ ]*:--- orig/linux-${kver}/$2:" \ - -e "s:^+++ [^ ]*:+++ linux-${kver}/$2:" \ + sed -e "s:^--- [^ ]*:--- linux-${kver}/$2:" \ + -e "s:^+++ [^ ]*:+++ linux-${kver}/$2:" \ < "$1" } @@ -70,8 +70,8 @@ function add_file { # -- skip *.mod.c. if [ "$1" = "${1%.mod.c}" ] && [ "$1" ]; then cat </dev/null; }) @@ EOF @@ -94,8 +94,8 @@ EOF function add_empty_file { cat <