From dcc13071a35b53da577275b64e9835d3599f00dc Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 16 Jun 2016 09:16:01 -0400 Subject: [PATCH] Hide ld.gold error message when its missing --- cryptest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptest.sh b/cryptest.sh index 781e9756..c7605147 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -252,7 +252,7 @@ if [ "$IS_X86" -ne "0" ] || [ "$IS_X64" -ne "0" ]; then fi # LD-Gold linker testing -HAVE_LDGOLD=$(file `which ld.gold` 2>&1 | $GREP -v "no ld.gold" | cut -d":" -f 2 | $EGREP -i -c "elf") +HAVE_LDGOLD=$(file `which ld.gold 2>&1` | $GREP -v "no ld.gold" | cut -d":" -f 2 | $EGREP -i -c "elf") # Set to 0 if you don't have Valgrind. Valgrind tests take a long time... HAVE_VALGRIND=$(which valgrind 2>&1 | $GREP -v "no valgrind" | $GREP -i -c valgrind)