AlexanderWillner / runMacOSinVirtualBox

Run macOS 10.16 Big Sur (and other versions) in VirtualBox on macOS
MIT License
936 stars 125 forks source link

Fix referencing $HOME as default when using environment variables to customize the shell build #35

Closed fllink closed 5 years ago

fllink commented 5 years ago

Thanks for providing this really helpful script!

I fixed a few small things I noticed when using the shell script:

  1. runMojaveVirtualbox.sh incorrectly referenced HOME instead of $HOME as a default which resulted in creating the VM in a subdirectory of the current folder.

  2. The Clover folder referenced the no longer existing ${VM} variable

  3. DST_DIR contained a trailing slash which leaded to duplicate slashes in paths