myspaghetti / macos-virtualbox

Push-button installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox on x86 CPUs for Windows, Linux, and macOS
GNU General Public License v2.0
13.46k stars 1.11k forks source link

newline error running on Windows 10 #637

Closed ericthegeek closed 1 year ago

ericthegeek commented 1 year ago

I am trying to run the script on Windows 10 and I am getting the following error:

./macos-guest-virtualbox.sh: line 6: syntax error near unexpected token `newline'
./macos-guest-virtualbox.sh: line 6: `<!DOCTYPE html>'

I have tried this in Cygwin and WSL.

ericthegeek commented 1 year ago

I found my issue.