commit | 5c19321e908207a80fe5a078b6c5822c82a4b12b | [log] [tgz] |
---|---|---|
author | Mike Walch <mwalch@apache.org> | Thu Aug 30 14:06:07 2018 -0400 |
committer | GitHub <noreply@github.com> | Thu Aug 30 14:06:07 2018 -0400 |
tree | d0a9cb8610744f020c821482e0f2f327cbfc56f7 | |
parent | 8e067e1b3998c43ebf9b0cb6163af80ddcc5826c [diff] |
Fixes Uno on MacOS (#190)
diff --git a/bin/impl/util.sh b/bin/impl/util.sh index dcdc40e..14c75e8 100755 --- a/bin/impl/util.sh +++ b/bin/impl/util.sh
@@ -61,7 +61,7 @@ } function save_console_fd { - if [[ -z "$UNO_CONSOLE_FD" ]]; then + if [[ -z "$UNO_CONSOLE_FD" && "$OSTYPE" != "darwin"* ]]; then # Allocate an unused file descriptor and make it dup stdout # https://stackoverflow.com/a/41620630/7298689 exec {UNO_CONSOLE_FD}>&1