diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-04-17 19:30:58 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-04-17 19:30:58 -0400 |
commit | 16649a99898b2739f4eb313ec156f3218809da20 (patch) | |
tree | 7e6bca7edc36d78d8db16eb154ab77603bc8d9d6 /tests/bfs/O2.sh | |
parent | 7102fec257835302cb4978160bba4cbebd0b63e1 (diff) | |
download | bfs-16649a99898b2739f4eb313ec156f3218809da20.tar.xz |
configure: Work around a Bash 3 bug
Before Bash 4, the `command` builtin did not work properly in AND-OR
lists when set -e was active, leading to
set -e
command nonesuch || echo none
failing without echoing. Work around it by runing `command nproc` in a
subshell.
Link: https://stackoverflow.com/q/68143965
Diffstat (limited to 'tests/bfs/O2.sh')
0 files changed, 0 insertions, 0 deletions