forked from p34709852/monkey
Fix syntax errors in PS
This commit is contained in:
parent
59f9e487bb
commit
aa3442195b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue