Skip to content

Commit 4ca070b

Browse files
author
Damian Rouson
committed
Refactor installer: differentiate software version
For clarity,the minimum_version bash variable, which holds the version number for the package that will potentially be installed no longer has the same name as the wrapped package in the case of mpich wrapping gfortran.
1 parent b6707aa commit 4ca070b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

prerequisites/install-functions/find_or_install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,12 @@ find_or_install()
173173

174174
else
175175

176-
export minimum_version=$(./build.sh -V gcc)
177-
info "$this_script: Checking whether $executable in PATH wraps gfortran version >= $minimum_version... "
176+
export minimum_compiler_version=$(./build.sh -V gcc)
177+
info "$this_script: Checking whether $executable in PATH wraps gfortran version >= $minimum_compiler_version... "
178178
$executable acceptable_compiler.f90 -o acceptable_compiler || true;
179179
$executable print_true.f90 -o print_true || true;
180180
if [[ -f ./acceptable_compiler && -f ./print_true ]]; then
181-
acceptable=$(./acceptable_compiler $minimum_version)
181+
acceptable=$(./acceptable_compiler $minimum_compiler_version)
182182
is_true=$(./print_true)
183183
rm acceptable_compiler print_true
184184
else

0 commit comments

Comments
 (0)