]> diplodocus.org Git - nmh/commitdiff
Run lsb_release(1) if uname is Linux.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 17 Oct 2016 10:50:22 +0000 (11:50 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 17 Oct 2016 10:50:22 +0000 (11:50 +0100)
tools/showbuildenv

index 415c169..e12bfe3 100755 (executable)
@@ -28,7 +28,6 @@ done
 header Shell Variables:
 set | sort -d -t= | offset
 
 header Shell Variables:
 set | sort -d -t= | offset
 
-
 case ${os} in
 
   Darwin)
 case ${os} in
 
   Darwin)
@@ -49,4 +48,7 @@ case ${os} in
        (pkg_info 2>/dev/null | offset) || true
        ;;
 
        (pkg_info 2>/dev/null | offset) || true
        ;;
 
+    Linux)
+        header Linux distribution:
+        (lsb_release -a 2>&1 | offset) || true
 esac
 esac