summarylogtreecommitdiffstats
path: root/0070-set-venv-activate-path-unix.patch
diff options
context:
space:
mode:
Diffstat (limited to '0070-set-venv-activate-path-unix.patch')
-rw-r--r--0070-set-venv-activate-path-unix.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0070-set-venv-activate-path-unix.patch b/0070-set-venv-activate-path-unix.patch
new file mode 100644
index 000000000000..b11395d40d63
--- /dev/null
+++ b/0070-set-venv-activate-path-unix.patch
@@ -0,0 +1,29 @@
+From 737d758a51b3e1778df4594ffbc671785c5a6425 Mon Sep 17 00:00:00 2001
+From: Dan Yeaw <dan@yeaw.me>
+Date: Thu, 17 Jun 2021 18:52:25 +0530
+Subject: [PATCH 070/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 45af353..877b5d3 100644
+--- a/Lib/venv/scripts/common/activate
++++ b/Lib/venv/scripts/common/activate
+@@ -37,7 +37,7 @@ deactivate () {
+ # unset irrelevant variables
+ deactivate nondestructive
+
+-VIRTUAL_ENV="__VENV_DIR__"
++VIRTUAL_ENV=$(cygpath "__VENV_DIR__")
+ export VIRTUAL_ENV
+
+ _OLD_VIRTUAL_PATH="$PATH"
+--
+2.33.0
+