diff options
Diffstat (limited to 'upgrade_kernel')
-rwxr-xr-x | upgrade_kernel | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade_kernel b/upgrade_kernel index ac46050..029cd86 100755 --- a/upgrade_kernel +++ b/upgrade_kernel @@ -1,7 +1,7 @@ #!/bin/sh if [ ! -f .config ]; then echo "Call from kernel source dir!"; exit; fi -V=`pwd | ruby -e "puts STDIN.gets.split('/').last.split('-').last"` +V=`pwd | ruby -e "puts STDIN.gets.split('/').last.split('-')[1..-1].join '-'"`; make mrproper cp -v ../config .config make |