X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ab6a6ff3011244795eb920cc577114776f57d63f..3fcb4665e17d451b0a1865353843c3dbdd1b5ca7:/tools/showbuildenv diff --git a/tools/showbuildenv b/tools/showbuildenv index e12bfe35..93f5efef 100755 --- a/tools/showbuildenv +++ b/tools/showbuildenv @@ -9,13 +9,17 @@ # This script should *only* report basic information about the build # environment, and only that necessary to reproduce the build # environment. +# +# FIXME: Document meaning of script's exit status, if any. +# It jumps through hoops with `|| true' despite not using `set -e'. offset () { - sed -e 's/^/ /' + sed -e '/./s/^/ /' } + header () { echo - echo $* + echo "$@" echo }