summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-10-29 08:41:08 +0100
committerJim Meyering <meyering@redhat.com>2007-10-29 08:41:08 +0100
commit973d42b90de3c4af705c99536cd1f0ffccd26791 (patch)
treecc80a1f9bf82638faa962b490cf6721cf11b8676 /build-aux
parente1bb6139fbc341dcdc5879ed37739d76039ad75c (diff)
downloadcoreutils-973d42b90de3c4af705c99536cd1f0ffccd26791.tar.gz
Always initialize terminal colorization string variables.
* build-aux/check.mk (am__tty_colors): Always initialize red, grn, etc., In case they're defined in the environment.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/check.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/build-aux/check.mk b/build-aux/check.mk
index 2bffc4142..c4dfd35e1 100644
--- a/build-aux/check.mk
+++ b/build-aux/check.mk
@@ -66,6 +66,12 @@ if test -t 1 2>/dev/null; then \
lgn=''; \
blu=''; \
std=''; \
+else; \
+ red=; \
+ grn=; \
+ lgn=; \
+ blu=; \
+ std=; \
fi
# To be inserted before the command running the test. Creates the