summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-08-16 06:31:07 +0000
committermidipix <writeonce@midipix.org>2020-08-16 18:03:57 +0000
commit5553d1d2f736038266f7c128ce8b5fa00b3391a9 (patch)
treec3b967118b2fc68d7b486ca352a55ebcc819c258
parent2bd1afde76432c8c7b68a9ea769d2589d2327b2c (diff)
downloadbcparser-5553d1d2f736038266f7c128ce8b5fa00b3391a9.tar.bz2
bcparser-5553d1d2f736038266f7c128ce8b5fa00b3391a9.tar.xz
build system: ccenv: ccenv_set_tool_variants(): not all tools support --help.
-rw-r--r--sofort/ccenv/ccenv.sh2
1 files changed, 1 insertions, 1 deletions
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