diff options
author | Patrick Simianer <p@simianer.de> | 2016-03-05 18:45:32 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-03-05 18:45:32 +0100 |
commit | b8d7ecc7aebee46add130a6aad0fcfcd41cee4f1 (patch) | |
tree | 617f4486ef5090336bd08b9afde436101b15db18 /upgrade_kernel | |
parent | c594e8d944d2891dee8df1da55106fb2ab48fd36 (diff) |
upgrade_kernel: support for additional version info
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 |