* t/color-tests2.sh: Change the idioms used to specify the value of
'AM_COLOR_TESTS' to make.  This is required since, in contrast with
what happens in the mainline Automake counterpart, this script doesn't
invoke make with the '-e' option.

Signed-off-by: Stefano Lattarini <[email protected]>
---
 t/color-tests2.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/color-tests2.sh b/t/color-tests2.sh
index f8bd85b..c66dbe5 100755
--- a/t/color-tests2.sh
+++ b/t/color-tests2.sh
@@ -130,7 +130,7 @@ for vpath in false :; do
   cat stdout
   test_no_color
 
-  AM_COLOR_TESTS=no MAKE=$MAKE expect -f $srcdir/expect-make >stdout \
+  MAKE="$MAKE AM_COLOR_TESTS=no" expect -f $srcdir/expect-make >stdout \
     || { cat stdout; exit 1; }
   cat stdout
   test_no_color
@@ -142,7 +142,7 @@ for vpath in false :; do
   cat stdout
   test_no_color
 
-  TERM=ansi MAKE="env AM_COLOR_TESTS=always $MAKE" \
+  TERM=ansi MAKE="$MAKE AM_COLOR_TESTS=always" \
     expect -f $srcdir/expect-make >stdout || { cat stdout; exit 1; }
   cat stdout
   test_color
-- 
1.7.12.rc0


Reply via email to