diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-02-05 00:39:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-05 08:39:36 +0000 |
commit | 927d3aab1c7874b5705fcc8269ea608315434e66 (patch) | |
tree | 46f3255e300da2c004d7e2f0404a0643af7c0474 | |
parent | 6470a7643018b357adcd88f77ae2a196f41cb351 (diff) | |
download | cpython-git-927d3aab1c7874b5705fcc8269ea608315434e66.tar.gz |
bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290) (GH-18359)
(cherry picked from commit 787b6d548c250f36df6d3f3179f60d754c8aa5e3)
Co-authored-by: schwarzichet <15522755+schwarzichet@users.noreply.github.com>
-rw-r--r-- | Lib/venv/scripts/common/Activate.ps1 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/venv/scripts/common/Activate.ps1 b/Lib/venv/scripts/common/Activate.ps1 index 699c84097f..98cb1b85d1 100644 --- a/Lib/venv/scripts/common/Activate.ps1 +++ b/Lib/venv/scripts/common/Activate.ps1 @@ -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" } |