27 lines
828 B
Diff
27 lines
828 B
Diff
From 6e086ca5e7539d2d96976d57855aa13dba74f5f4 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 982da08..f3c168b 100644
|
|
--- a/Lib/venv/scripts/common/activate
|
|
+++ b/Lib/venv/scripts/common/activate
|
|
@@ -35,7 +35,7 @@ deactivate () {
|
|
# unset irrelevant variables
|
|
deactivate nondestructive
|
|
|
|
-VIRTUAL_ENV="__VENV_DIR__"
|
|
+VIRTUAL_ENV=$(cygpath "__VENV_DIR__")
|
|
export VIRTUAL_ENV
|
|
|
|
_OLD_VIRTUAL_PATH="$PATH"
|