summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-02-05 00:39:36 -0800
committerGitHub <noreply@github.com>2020-02-05 08:39:36 +0000
commit927d3aab1c7874b5705fcc8269ea608315434e66 (patch)
tree46f3255e300da2c004d7e2f0404a0643af7c0474
parent6470a7643018b357adcd88f77ae2a196f41cb351 (diff)
downloadcpython-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.ps11
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"
}