sickcodes / osx-serial-generator

Mac Serial Generator - Generate complete sets of Serial Numbers for OSX-KVM, Docker-OSX and of course, OpenCore.
GNU General Public License v3.0
1.57k stars 132 forks source link

current version of opencore-image-ng.sh uses "BASE" before it is defined #23

Open tewarfel opened 2 years ago

tewarfel commented 2 years ago

Minor issue - the current version of opencore-image-ng.sh tries to use bash variable "BASE" at line 154, but doesn't define "BASE" until line 160.

As a result, generating an opencore boot image fails when it tries to copy $BASE/resources/OcBinaryData/Resource to the /ESP/EFI/OC directory as it looks in "." rather than "./OSX-KVM"

Thank you(!) for the work you've done on this and for making this tool available.