Skip to content

Commit 6d944dc

Browse files
authored
Merge pull request winpython#1942 from stonebig/master
bug fix
2 parents a875ebf + c2be573 commit 6d944dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winpython/portable/launchers_final/scripts/WinPython_PS_Prompt.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ foreach ($pair in $pairs) {
6161
$scriptDir = if ($PSScriptRoot) { $PSScriptRoot } else { Split-Path -Parent $MyInvocation.MyCommand.Definition }
6262

6363
# emulate %__CD% and build scripts\ path
64-
$envCD = Normalize-DirPath $env:__CD__
64+
$envCD = $env:__CD__
6565
$scriptsPath = if ($envCD) { Join-Path $envCD 'scripts' } else { $null }
6666

6767
# target to change into (environment variable WINPYWORKDIR1)

0 commit comments

Comments
 (0)