Skip to content

Commit f841090

Browse files
authored
cleanup (#140)
1 parent e0249dc commit f841090

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

setup-fortran.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,10 @@ install_gcc_choco()
100100
mv /c/mingw64 "$RUNNER_TEMP/"
101101
# ...and install selected version
102102
case $version in
103-
latest|13)
104-
if [ "$version" == "latest" ]; then
105-
choco install mingw --force
106-
else
107-
choco install mingw --version 13.2.0 --force
108-
fi
103+
latest)
104+
choco install mingw --force
105+
13)
106+
choco install mingw --version 13.2.0 --force
109107
# mingw 13 on Windows doesn't create shims (http://disq.us/p/2w5c5tj)
110108
# so hide Strawberry compilers and manually add mingw bin dir to PATH
111109
mkdir "$RUNNER_TEMP/strawberry"

0 commit comments

Comments
 (0)