From dcd1109862b530fd7e456a507034d1ddbd0a2497 Mon Sep 17 00:00:00 2001 From: Sylvain Leclerc Date: Wed, 28 Aug 2024 19:50:42 +0200 Subject: [PATCH] Fix venv init on windows Signed-off-by: Sylvain Leclerc --- scripts/package_antares_installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/package_antares_installer.sh b/scripts/package_antares_installer.sh index f02de1b202..8f705bdd3c 100644 --- a/scripts/package_antares_installer.sh +++ b/scripts/package_antares_installer.sh @@ -15,7 +15,7 @@ echo "INFO: Initializing the virtual environment .installer" python -m venv .installer if [[ "$OSTYPE" == "msys"* ]]; then # initialize environment on windows - .installer/bin/Activate.ps1 + source .installer/Scripts/activate else # initialize environment on linux source .installer/bin/activate @@ -35,4 +35,4 @@ else fi deactivate -rm -r .installer \ No newline at end of file +rm -rf .installer \ No newline at end of file