mirror of
https://github.com/sickcodes/osx-serial-generator.git
synced 2025-01-29 17:08:25 +00:00
Continue if OSX-KVM is already in the current working directory.
This commit is contained in:
parent
3f0a20392c
commit
238f135174
|
@ -199,7 +199,7 @@ download_qcow_efi_folder () {
|
|||
# check if we are inside OSX-KVM already
|
||||
# if not, download OSX-KVM locally
|
||||
[ -d ./OpenCore-Catalina/EFI/ ] || {
|
||||
git clone --recurse-submodules --depth 1 https://github.com/kholia/OSX-KVM.git
|
||||
[ -d ./OSX-KVM/ ] || git clone --recurse-submodules --depth 1 https://github.com/kholia/OSX-KVM.git
|
||||
export EFI_FOLDER="./OSX-KVM/${EFI_FOLDER}"
|
||||
}
|
||||
|
||||
|
|
|
@ -232,7 +232,7 @@ download_qcow_efi_folder () {
|
|||
# check if we are inside OSX-KVM already
|
||||
# if not, download OSX-KVM locally
|
||||
[ -d ./OpenCore-Catalina/EFI/ ] || {
|
||||
git clone --recurse-submodules --depth 1 https://github.com/kholia/OSX-KVM.git
|
||||
[ -d ./OSX-KVM/ ] || git clone --recurse-submodules --depth 1 https://github.com/kholia/OSX-KVM.git
|
||||
export EFI_FOLDER="./OSX-KVM/${EFI_FOLDER}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue