Commit 79644714 authored by Isuru Fernando's avatar Isuru Fernando Committed by Andreas Klöckner
Browse files

Escape /c to cmd.exe

MinGW login shells transform /c to C:\
parent 0515ea3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ install_miniforge()

  if [ "$PLATFORM" == "Windows" ]; then
    echo "start /wait \"\" ${MINIFORGE_INSTALLER} /InstallationType=JustMe /RegisterPython=0 /S /D=$(cygpath -w "${MINIFORGE_INSTALL_DIR}")" > install.bat
    cmd.exe /c install.bat
    cmd.exe //c install.bat
  else
    bash "$MINIFORGE_INSTALLER" -b -p "$MINIFORGE_INSTALL_DIR"
  fi