X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8374c3c75faa115b170018997ffcf64c6cb94300..7b77847ec7bcd976d19baa5fd140fe429e3997a9:/tools/showbuildenv diff --git a/tools/showbuildenv b/tools/showbuildenv index 4645049a..5eec6ee8 100755 --- a/tools/showbuildenv +++ b/tools/showbuildenv @@ -14,7 +14,7 @@ # It jumps through hoops with `|| true' despite not using `set -e'. offset () { - sed -e '/./s/^/ /' + sed -e '/./s/^/ /' "$@" } header () { @@ -66,8 +66,4 @@ 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