summaryrefslogtreecommitdiff
path: root/kernel/patch_kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/patch_kernel')
-rwxr-xr-xkernel/patch_kernel2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/patch_kernel b/kernel/patch_kernel
index a3f96f0..f01633e 100755
--- a/kernel/patch_kernel
+++ b/kernel/patch_kernel
@@ -42,7 +42,7 @@ oldmakefile() {
lineno=$((lineno-1))
head -n $lineno $file > $file.head
lineno=$((lineno+1))
- tail +$lineno $file > $file.tail
+ tail -n +$lineno $file > $file.tail
cp $file $file.orig
cat $file.head Makefile.ipset Makefile.export.ipset $file.tail > $file
}