mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
fix PATH for odo binary (#5702)
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f280a61b0d
commit
3f40f0a4d2
@@ -37,7 +37,7 @@ function Run-Test {
|
|||||||
$PATH = [Environment]::GetEnvironmentVariable("PATH")
|
$PATH = [Environment]::GetEnvironmentVariable("PATH")
|
||||||
$GOBIN="$(Get-Location)\bin"
|
$GOBIN="$(Get-Location)\bin"
|
||||||
[Environment]::SetEnvironmentVariable("GOBIN", "$GOBIN")
|
[Environment]::SetEnvironmentVariable("GOBIN", "$GOBIN")
|
||||||
[Environment]::SetEnvironmentVariable("PATH", "$PATH;$GOBIN")
|
[Environment]::SetEnvironmentVariable("PATH", "$GOBIN;$PATH")
|
||||||
|
|
||||||
# Set kubeconfig to current dir. This ensures no clashes with other test runs
|
# Set kubeconfig to current dir. This ensures no clashes with other test runs
|
||||||
[Environment]::SetEnvironmentVariable("KUBECONFIG","$(Get-Location)\config")
|
[Environment]::SetEnvironmentVariable("KUBECONFIG","$(Get-Location)\config")
|
||||||
|
|||||||
Reference in New Issue
Block a user