This is an automated email from the ASF dual-hosted git repository.
mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo-uno.git
The following commit(s) were added to refs/heads/master by this push:
new 5c19321 Fixes Uno on MacOS (#190)
5c19321 is described below
commit 5c19321e908207a80fe5a078b6c5822c82a4b12b
Author: Mike Walch <[email protected]>
AuthorDate: Thu Aug 30 14:06:07 2018 -0400
Fixes Uno on MacOS (#190)
---
bin/impl/util.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 run_setup_script() {
}
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