AlexanderWillner / runMacOSinVirtualBox

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

Support for zsh shell #124

Closed jieniuu8 closed 3 years ago

jieniuu8 commented 3 years ago

To Reproduce Steps to reproduce the behavior:

  1. Use the zsh shell to execute make all

Expected behavior [2021-01-13 00:59:43] Creating iso '/Users/jieniu/VirtualBox VMs/macOS-VM.iso.cdr'... [2021-01-13 00:59:43] . hdiutil: convert failed - Resource temporarily unavailable [2021-01-13 00:59:43] line 420 - command '[ "$#" -ne 0 ]' exited with status: 1. [2021-01-13 00:59:43] In :: called at line 0. [2021-01-13 00:59:43] From function :: (line 0). [2021-01-13 00:59:43] Look at /Users/jieniu/Library/Logs/runMacOSVirtualbox.log for details (or use Console.app). Press enter in the terminal when done... Collecting system information...

Additional context zsh is the default shell in Catalina. I had to use bash shell to execute make installer step.

AlexanderWillner commented 3 years ago

As the first line of the script specifies the interpreter (#!/usr/bin/env bash), how did you manage to start it via zsh? By executing specifically zsh ./runMacOSVirtualbox.sh?