X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/71807b3575bb312a3b650ce7091b02f0285b9aab..7516f2bc331634fbd4e9a96baa9c50d058179259:/tools/showbuildenv diff --git a/tools/showbuildenv b/tools/showbuildenv index 2338bc6c..37accd2d 100755 --- a/tools/showbuildenv +++ b/tools/showbuildenv @@ -9,6 +9,10 @@ # This script should *only* report basic information about the build # environment, and only that necessary to reproduce the build # environment. +# +# The script's exit status must be zero if all went acceptably well as +# buildbot checks for this and marks the `environment' stage as failed +# otherwise. offset () { sed -e '/./s/^/ /' "$@" @@ -25,7 +29,7 @@ header () { # also use that to placate broken logic that use its prescence as a # use-RPM test. for f in \ - /etc/os-release /etc/arch-release /etc/debian_version \ + /etc/os-release /etc/arch-release /etc/centos-release /etc/debian_version \ /etc/fedora-release /etc/gentoo-release /etc/redhat-release \ /etc/lsb-release \ ; do