commit | c847c22401213be309e6113afe9d8864c933f145 | [log] [tgz] |
---|---|---|
author | Michael Jumper <mjumper@apache.org> | Wed Apr 21 23:59:07 2021 -0700 |
committer | Michael Jumper <mjumper@apache.org> | Thu Apr 22 00:02:46 2021 -0700 |
tree | 123b17cabda6e93aeefbcb93b138cb2a3efc1425 | |
parent | 478cc5c79dcbaa02f34d7e2975907b40624f38a4 [diff] |
Ensure build.sh is compatible with the "dash" shell.
diff --git a/build.sh b/build.sh index aa7a2a0..796e9d6 100755 --- a/build.sh +++ b/build.sh
@@ -76,7 +76,7 @@ ## assert_program() { NAME="$1" - if ! which "$NAME" &> /dev/null; then + if ! which "$NAME" 2>&1 > /dev/null; then log "FATAL: \"$NAME\" is not installed." exit 1 fi