From 3cffe928e2043921f0906fc503f45ca6d0be5bd9 Mon Sep 17 00:00:00 2001 From: Ryan Clary <9618975+mrclary@users.noreply.github.com> Date: Wed, 10 Jan 2024 22:58:20 -0800 Subject: [PATCH] Ensure quotes are removed and don't inadvertently add whitespace --- spyder/plugins/updatemanager/scripts/install.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spyder/plugins/updatemanager/scripts/install.bat b/spyder/plugins/updatemanager/scripts/install.bat index 1bfb8a8a3da..4bdb5533469 100644 --- a/spyder/plugins/updatemanager/scripts/install.bat +++ b/spyder/plugins/updatemanager/scripts/install.bat @@ -4,10 +4,10 @@ :: Create variables from arguments :parse IF "%~1"=="" GOTO endparse -IF "%~1"=="-p" set prefix=%2 & SHIFT -IF "%~1"=="-i" set install_exe=%2 & SHIFT -IF "%~1"=="-c" set conda=%2 & SHIFT -IF "%~1"=="-v" set spy_ver=%2 & SHIFT +IF "%~1"=="-p" set prefix=%~2& SHIFT +IF "%~1"=="-i" set install_exe=%~2& SHIFT +IF "%~1"=="-c" set conda=%~2& SHIFT +IF "%~1"=="-v" set spy_ver=%~2& SHIFT SHIFT GOTO parse :endparse