diff --git a/Borealis.ps1 b/Borealis.ps1 index a5f14af..c5f37b9 100644 --- a/Borealis.ps1 +++ b/Borealis.ps1 @@ -531,10 +531,10 @@ function Ensure-AnsibleExecutionEnvironment { } $pythonCandidates = @( - Join-Path $eeRoot 'Scripts\python.exe', - Join-Path $eeRoot 'Scripts\python3.exe', - Join-Path $eeRoot 'bin\python3', - Join-Path $eeRoot 'bin\python' + (Join-Path $eeRoot 'Scripts\python.exe') + (Join-Path $eeRoot 'Scripts\python3.exe') + (Join-Path $eeRoot 'bin\python3') + (Join-Path $eeRoot 'bin\python') ) $existingPython = $pythonCandidates | Where-Object { Test-Path $_ -PathType Leaf } | Select-Object -First 1