summarylogtreecommitdiffstats
path: root/0070-set-venv-activate-path-unix.patch
diff options
context:
space:
mode:
authoratomlong2021-10-23 17:55:22 +0800
committeratomlong2021-10-23 18:06:15 +0800
commit80096c8de4b34ec1ed8f30bb428918cd592b2424 (patch)
treeb48dd1e73de9ea35a4709fb6b93deb16331ec514 /0070-set-venv-activate-path-unix.patch
parent89a67c05174951d172252b1db96ff93cc4ec4bcd (diff)
downloadaur-80096c8de4b34ec1ed8f30bb428918cd592b2424.tar.gz
update to 3.9.7
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
+