]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - scripts/ver_linux
ver_linux: module-init-tools, look for numerical input, not field number
authorAlexander Kapshuk <alexander.kapshuk@gmail.com>
Mon, 12 Oct 2015 18:39:45 +0000 (21:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 04:55:26 +0000 (21:55 -0700)
commit5bcb2f59240cb5501956f2a089ba82e0b8621564
treea9b03dd3821f712d612c3dc8742dee825e171c77
parent12b2732c825c9ff59fa74fe9df50264d8275c14f
ver_linux: module-init-tools, look for numerical input, not field number

Rely on regex to find the version number, rather than rely on numerical input to be found in a particular input field.

Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1

Signed-off-by: Alexander Kapshuk <alexander.kapshuk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/ver_linux