summaryrefslogtreecommitdiff
path: root/coin/provisioning/common/ninja.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'coin/provisioning/common/ninja.ps1')
-rw-r--r--coin/provisioning/common/ninja.ps13
1 files changed, 1 insertions, 2 deletions
diff --git a/coin/provisioning/common/ninja.ps1 b/coin/provisioning/common/ninja.ps1
index 75d74d36..0d21f799 100644
--- a/coin/provisioning/common/ninja.ps1
+++ b/coin/provisioning/common/ninja.ps1
@@ -8,5 +8,4 @@ Verify-Checksum $zip "E01093F6533818425F8EFB0843CED7DCAABEA3B2"
Extract-Zip $zip C:\Utils\Ninja
Remove-Item $zip
-$machinePath = [Environment]::GetEnvironmentVariable('Path', [EnvironmentVariableTarget]::Machine)
-[Environment]::SetEnvironmentVariable("Path", $machinePath + ";C:\Utils\Ninja", [EnvironmentVariableTarget]::Machine)
+Add-Path "C:\Utils\Ninja"