From dd06f7c131a90dd28771f0325996587f8ffd7afe Mon Sep 17 00:00:00 2001 From: Christian Glitzner Date: Tue, 21 Oct 2014 14:05:41 +0200 Subject: Fix argument of the tail command tail: cannot open `+118' for reading: No such file or directory Signed-off-by: Jozsef Kadlecsik --- kernel/patch_kernel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.1