From 9b87484fd271ab5633db0e0ce9e649bd0aa74220 Mon Sep 17 00:00:00 2001 From: deepio Date: Mon, 29 Jul 2019 14:37:54 -0400 Subject: [PATCH] Added: MacOS compat. https://github.com/myspaghetti/macos-guest-virtualbox/issues/39 --- macos-guest-virtualbox.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/macos-guest-virtualbox.sh b/macos-guest-virtualbox.sh index 6d92108..bb6bd40 100644 --- a/macos-guest-virtualbox.sh +++ b/macos-guest-virtualbox.sh @@ -110,8 +110,9 @@ read function check_dependencies() { # check if running on macOS if [ -n "$(sw_vers 2>/dev/null)" ]; then - printf '\nThis script is not tested on macOS hosts. Exiting.\n' - exit + printf '\nThis script is not completely tested on macOS hosts.\nVisit https://github.com/myspaghetti/macos-guest-virtualbox/issues/39 for more information\n' + read -p "Press enter to continue.\n" + export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" fi # check Bash version