From be6513b2471785fe8dffc35467191eed1f8913a5 Mon Sep 17 00:00:00 2001 From: img2tab <31696646+img2tab@users.noreply.github.com> Date: Fri, 28 Jun 2019 21:06:46 +0300 Subject: [PATCH] could not download BaseSystem... --- macos-guest-virtualbox.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macos-guest-virtualbox.sh b/macos-guest-virtualbox.sh index 0fe4679..265aa0c 100644 --- a/macos-guest-virtualbox.sh +++ b/macos-guest-virtualbox.sh @@ -2,7 +2,7 @@ # Semi-automatic installer of macOS on VirtualBox # (c) img2tab, licensed under GPL2.0 or higher # url: https://github.com/img2tab/macos-guest-virtualbox -# version 0.65.1 +# version 0.65.2 # Requirements: 37.5GB available storage on host # Dependencies: bash >= 4.0, unzip, wget, dmg2img, @@ -335,7 +335,7 @@ else wget "${urlbase}BaseSystem.dmg" \ ${wgetargs} \ --output-document="${macOS_release_name}_BaseSystem.dmg" - if [ ! -s BaseSystem.dmg ]; then + if [ ! -s "${macOS_release_name}_BaseSystem.dmg" ]; then printf ${whiteonred}'Could not download BaseSystem.dmg'${defaultcolor}'.' exit fi