We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4749b0 commit 9868620Copy full SHA for 9868620
infra/scripts/run_create_index_scripts.sh
@@ -66,7 +66,12 @@ else
66
echo "Creating virtual environment"
67
python3 -m venv infra/scripts/scriptenv
68
fi
69
-source infra/scripts/scriptenv/bin/activate
+
70
+# handling virtual environment activation for different OS
71
+activate_env_output=$(source infra/scripts/scriptenv/bin/activate 2>&1)
72
+if [ -n "$activate_env_output" ]; then
73
+ source infra/scripts/scriptenv/Scripts/activate
74
+fi
75
76
# Install the requirements
77
echo "Installing requirements"
0 commit comments