From 4440ff61ab110690da18750a8d8d3f0da1f0f1be Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 16 Aug 2020 06:31:07 +0000 Subject: build system: ccenv: ccenv_set_tool_variants(): not all tools support --help. --- sofort/ccenv/ccenv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sofort') diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index b8a9219..c026030 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -238,7 +238,7 @@ ccenv_set_tool_variants() if [ "$ccenv_tool" = false ]; then ccenv_as_asm= else - $ccenv_tool --help | grep -i '.bc assembler' \ + $ccenv_tool --help 2>&1 | grep -i '.bc assembler' \ || ccenv_as_asm="$ccenv_tool" fi -- cgit v1.2.3