mikewalch closed pull request #190: Fixes Uno on MacOS
URL: https://github.com/apache/fluo-uno/pull/190
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services