• Alexander Kapshuk's avatar
    ver_linux: Do not check for ver_linux pattern in version function · 71bdd87f
    Alexander Kapshuk authored
    Checking whether output of commands matches the ver_linux pattern in
    the version function is original shell implementation legacy code. When
    the original implementation failed to locate a particular utility,
    it generated error output along the lines of:
    
    ver_linux:line number: command not found.
    
    The awk implementation, does not contain the name of the script within the
    body of the error message returned by the subshell when a given utility
    fails to be located. The error message returned is along the lines of:
    
    sh: name of utility: command not found
    
    Safeguarding against the ver_linux pattern being found in the output
    being parsed may thus be safely omitted.
    Signed-off-by: default avatarAlexander Kapshuk <alexander.kapshuk@gmail.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    71bdd87f
Name
Last commit
Last update
Documentation Loading commit data...
LICENSES Loading commit data...
arch Loading commit data...
block Loading commit data...
certs Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt Loading commit data...
.clang-format Loading commit data...
.cocciconfig Loading commit data...
.get_maintainer.ignore Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...