]> git.ipfire.org Git - thirdparty/valgrind.git/commit
nightly: Try harder to get vendor stuff.
authorMark Wielaard <mark@klomp.org>
Sat, 6 Sep 2014 17:37:55 +0000 (17:37 +0000)
committerMark Wielaard <mark@klomp.org>
Sat, 6 Sep 2014 17:37:55 +0000 (17:37 +0000)
commit2abe15a711f76e8a28701f87b70bba16dd5cdaab
tree6e48fb81e3c8f85cc1e67997584dfcd2880b6f2d
parent8b6a7865b46b8d4f8354814fe89ed4e85c265006
nightly: Try harder to get vendor stuff.

/etc/issue.net might just contain control chars (like \S) a generic welcome
message or omit the precise version. The newest standard is /etc/os-release
http://www.freedesktop.org/software/systemd/man/os-release.html
Otherwise there is often lsb_release
http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/lsbrelease.html
Try those first, fall back to /etc/issue.net if neither is there.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14482
nightly/bin/nightly