X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ecc4ea809452d95ab51ff8669d66fe0549260377..ef1ba39e8dae81091b6c3e73e72825ef6edea3c6:/tools/showbuildenv?ds=inline diff --git a/tools/showbuildenv b/tools/showbuildenv index 089eea75..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 () { @@ -34,7 +34,7 @@ for f in \ ; do test -f $f || continue header $f - cat $f + offset $f break done @@ -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