]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290) (GH-18359)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 5 Feb 2020 08:39:36 +0000 (00:39 -0800)
committerGitHub <noreply@github.com>
Wed, 5 Feb 2020 08:39:36 +0000 (08:39 +0000)
(cherry picked from commit 787b6d548c250f36df6d3f3179f60d754c8aa5e3)

Co-authored-by: schwarzichet <15522755+schwarzichet@users.noreply.github.com>
Lib/venv/scripts/common/Activate.ps1

index 699c84097f1ac9fe687a74c6ffbd7c61f603f47a..98cb1b85d11c617d2040bade73448831ae3a7bd1 100644 (file)
@@ -168,7 +168,6 @@ if ($VenvDir) {
 } else {
     Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir."
     $VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/")
-    $VenvDir = $VenvDir.Insert($VenvDir.Length, "/")
     Write-Verbose "VenvDir=$VenvDir"
 }