Continue if OSX-KVM is already in the current working directory.

This commit is contained in:
sickcodes 2021-03-09 10:07:05 +00:00
parent 3f0a20392c
commit 238f135174
2 changed files with 2 additions and 2 deletions

View file

@ -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}"
}

View file

@ -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}"
}