From: Ralph Corderoy Date: Mon, 17 Oct 2016 10:50:22 +0000 (+0100) Subject: Run lsb_release(1) if uname is Linux. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/ab6a6ff3011244795eb920cc577114776f57d63f Run lsb_release(1) if uname is Linux. --- diff --git a/tools/showbuildenv b/tools/showbuildenv index 415c169d..e12bfe35 100755 --- a/tools/showbuildenv +++ b/tools/showbuildenv @@ -28,7 +28,6 @@ done header Shell Variables: set | sort -d -t= | offset - case ${os} in Darwin) @@ -49,4 +48,7 @@ case ${os} in (pkg_info 2>/dev/null | offset) || true ;; + Linux) + header Linux distribution: + (lsb_release -a 2>&1 | offset) || true esac