27 lines
828 B
Diff
27 lines
828 B
Diff
From 54bcdb70d2dee6d82814aada6c8f43c26326431e Mon Sep 17 00:00:00 2001
|
|
From: Dan Yeaw <dan@yeaw.me>
|
|
Date: Thu, 17 Jun 2021 18:52:25 +0530
|
|
Subject: [PATCH 055/N] set venv activate path unix
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Co-authored-by: Алексей <alexey.pawlow@gmail.com>
|
|
---
|
|
Lib/venv/scripts/common/activate | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Lib/venv/scripts/common/activate b/Lib/venv/scripts/common/activate
|
|
index 6fbc2b8..9c3d58d 100644
|
|
--- a/Lib/venv/scripts/common/activate
|
|
+++ b/Lib/venv/scripts/common/activate
|
|
@@ -38,7 +38,7 @@ deactivate () {
|
|
# unset irrelevant variables
|
|
deactivate nondestructive
|
|
|
|
-VIRTUAL_ENV="__VENV_DIR__"
|
|
+VIRTUAL_ENV=$(cygpath "__VENV_DIR__")
|
|
export VIRTUAL_ENV
|
|
|
|
_OLD_VIRTUAL_PATH="$PATH"
|