Fix syntax errors in PS

This commit is contained in:
Daniel Goldberg 2020-02-03 09:59:19 +02:00
parent 59f9e487bb
commit aa3442195b
1 changed files with 4 additions and 4 deletions

View File

@ -101,7 +101,7 @@ function Deploy-Windows([String] $monkey_home = (Get-Item -Path ".\").FullName,
$user_python_dir = cmd.exe /c 'py -m site --user-site' $user_python_dir = cmd.exe /c 'py -m site --user-site'
$user_python_dir = Join-Path (Split-Path $user_python_dir) -ChildPath "\Scripts" $user_python_dir = Join-Path (Split-Path $user_python_dir) -ChildPath "\Scripts"
if (!($ENV: PATH | Select-String -SimpleMatch $user_python_dir)) if (!($ENV:Path | Select-String -SimpleMatch $user_python_dir))
{ {
"Adding python scripts path to user's env" "Adding python scripts path to user's env"
$env:Path += ";" + $user_python_dir $env:Path += ";" + $user_python_dir