summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-11-21 20:36:43 +0100
committerJim Meyering <meyering@redhat.com>2011-11-21 20:37:38 +0100
commita1482fbe39b58e26b8a05d9c5ed22969fbcf2f47 (patch)
tree51daad89e3c8e5821499f2069f407619917afdc6
parentf3d95e96a371111f8b9b4941f1075933c904142a (diff)
downloadgrep-a1482fbe39b58e26b8a05d9c5ed22969fbcf2f47.tar.gz
build: fix "make check" error on OSF/1
* tests/Makefile.am (TESTS_ENVIRONMENT): Test the value of the variable BASH_VERSION, not the literal ASH_VERSION.
-rw-r--r--tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 03ea23be..f23a5925 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -106,7 +106,7 @@ TESTS_ENVIRONMENT = \
tmp__=$$TMPDIR; test -d "$$tmp__" || tmp__=.; \
TMPDIR=$$tmp__; export TMPDIR; \
\
- if test -n "$BASH_VERSION" || (eval "export v=x") 2>/dev/null; then \
+ if test -n "$$BASH_VERSION" || (eval "export v=x") 2>/dev/null; then \
export_with_values () { export "$$@"; }; \
else \
export_with_values () \