From 84326051cae737c7897823b2aabf5dc2c711cfa9 Mon Sep 17 00:00:00 2001 From: sickcodes Date: Fri, 26 Feb 2021 05:30:09 +0000 Subject: source "${ENV:=/env}" logic --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 3625431..e2701f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -279,10 +279,9 @@ CMD sudo chown "$(id -u)":"$(id -g)" "${IMAGE_PATH}" "${BOOTDISK}" 2>/dev/null | --bootdisks \ --output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" \ --output-env "${ENV:=/env}" \ - && source "${ENV}" \ ; } \ ; [[ "${GENERATE_SPECIFIC}" == true ]] && { \ - source /env \ + source "${ENV:=/env}" \ || ./Docker-OSX/custom/generate-specific-bootdisk.sh \ --model "${DEVICE_MODEL}" \ --serial "${SERIAL}" \ -- cgit v1.2.3