summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremiah Snapp <jeremiah@chef.io>2022-03-23 22:41:11 -0400
committerJeremiah Snapp <jeremiah@chef.io>2022-03-23 22:41:11 -0400
commit8ec51c55b4a76dd38667833316c02dc4fb523fbb (patch)
tree3a61c1cfa891cff0eb3013ed9336ba3ff41d0bd7
parenteec8655195dc582231956a58a2974a3426a6a705 (diff)
downloadchef-8ec51c55b4a76dd38667833316c02dc4fb523fbb.tar.gz
Update bk_win_integration.ps1 script to allow for different ruby versions
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
-rw-r--r--.expeditor/scripts/bk_win_integration.ps13
1 files changed, 1 insertions, 2 deletions
diff --git a/.expeditor/scripts/bk_win_integration.ps1 b/.expeditor/scripts/bk_win_integration.ps1
index 6b0debc790..7a2d99ecc8 100644
--- a/.expeditor/scripts/bk_win_integration.ps1
+++ b/.expeditor/scripts/bk_win_integration.ps1
@@ -2,8 +2,7 @@ $CurrentDirectory = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
$PrepScript = Join-Path $CurrentDirectory "bk_win_prep.ps1"
Invoke-Expression $PrepScript
-# Set-Item -Path Env:Path -Value ($Env:Path + ";C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin")
-$Env:Path="C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\ruby27\bin;C:\ci-studio-common\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Users\ContainerAdministrator\AppData\Local\Microsoft\WindowsApps;C:\Go\bin;C:\Users\ContainerAdministrator\go\bin"
+Set-Item -Path Env:Path -Value ("C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;" + $Env:Path)
winrm quickconfig -q