]> diplodocus.org Git - nmh/blobdiff - tools/showbuildenv
sbr: Replace some ints that are only ever 0 or 1 with bool.
[nmh] / tools / showbuildenv
index ce21a0e077cbd146e80de81afd5f37da420c4cc9..81f278e86bd257b0a951c56738aa9616ac3fb926 100755 (executable)
@@ -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/^/    /' "$@"
@@ -65,6 +69,3 @@ case ${os} in
        (pkg_info 2>/dev/null | offset) || true
        ;;
 esac
-
-# Temporary test.  Does anything care if the exit status is non-zero?
-exit 42