summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-08-16 06:31:07 +0000
committermidipix <writeonce@midipix.org>2020-08-16 18:04:03 +0000
commit1df990fbd098f51c1ca1c0cf8c3378f2e399a21c (patch)
tree9da734d8706f8af9c73ebae76aea33ebf8f629d1
parent6aee3570b2e425893901b116ed25656d1b5a147b (diff)
downloadptycon-1df990fbd098f51c1ca1c0cf8c3378f2e399a21c.tar.bz2
ptycon-1df990fbd098f51c1ca1c0cf8c3378f2e399a21c.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