diff --git a/build-telemac.bat b/build-telemac.bat index 1f085a99d81be060b4d142dde40952089d4ce1de..52f05b6c5d278623c5f56d5f34ed8a371e6e6b26 100644 --- a/build-telemac.bat +++ b/build-telemac.bat @@ -141,13 +141,6 @@ if exist %install_path% ( if /i "%clone%" equ "y" ( rd /s/q %install_path% 2>nul git clone -b %version% https://gitlab.pam-retd.fr/otm/telemac-mascaret.git %install_path% || exit /b 0 -) else ( - pushd %install_path% - echo Switching to %version% branch... - git switch %version% || exit /b 0 - echo Updating %version% branch... - git pull --rebase || exit /b 0 - popd ) rem **********************