diff --git a/setup-fortran.sh b/setup-fortran.sh index ab899a9..6a6a5ff 100755 --- a/setup-fortran.sh +++ b/setup-fortran.sh @@ -98,10 +98,7 @@ install_gcc_choco() echo "GCC $version already installed" else # otherwise hide preinstalled mingw compilers - mkdir "$RUNNER_TEMP/mingw64" - mv /c/mingw64/bin/gfortran "$RUNNER_TEMP/mingw64/gfortran" - mv /c/mingw64/bin/gcc "$RUNNER_TEMP/mingw64/gcc" - mv /c/mingw64/bin/g++ "$RUNNER_TEMP/mingw64/g++" + mv /c/mingw64 "$RUNNER_TEMP/" # ...and install selected version case $version in 13)