From 6ac87c213d0dc686dfcfb1e7555cf6cc5c2a1be3 Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Sun, 1 Nov 2020 15:55:02 +0300 Subject: [PATCH] Update xcode.ps1 --- images/macos/provision/core/xcode.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/macos/provision/core/xcode.ps1 b/images/macos/provision/core/xcode.ps1 index 58f100a3..38287aa6 100644 --- a/images/macos/provision/core/xcode.ps1 +++ b/images/macos/provision/core/xcode.ps1 @@ -3,8 +3,8 @@ $ErrorActionPreference = "Stop" -Import-Module "$PSScriptRoot/../../helpers/Common.Helpers.psm1" -Import-Module "$PSScriptRoot/../../helpers/Xcode.Installer.psm1" +Import-Module "$env:HOME/image-generation/helpers/Common.Helpers.psm1" +Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1" if ([string]::IsNullOrEmpty($env:XCODE_INSTALL_USER) -or [string]::IsNullOrEmpty($env:XCODE_INSTALL_PASSWORD)) { throw "Required environment variables XCODE_INSTALL_USER and XCODE_INSTALL_PASSWORD are not set"