Skip to content

Commit f09bd11

Browse files
committed
Fix bad shell variable names (capitalization)
1 parent 1248508 commit f09bd11

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

prerequisites/install-functions/build_opencoarrays.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build_opencoarrays()
77
find_or_install mpich
88
info "Invoking find_or_install cmake"
99
find_or_install cmake
10-
build_path="${build_path}"/opencoarrays/$("${opencoarrays_src_dir}"/install.sh -V opencoarrays)
10+
build_path="${build_path}"/opencoarrays/$("${OPENCOARRAYS_SRC_DIR}"/install.sh -V opencoarrays)
1111
if [[ -d "${build_path}" ]]; then
1212
rm -rf "${build_path}"
1313
fi
@@ -44,8 +44,8 @@ build_opencoarrays()
4444
set_or_print_installation_path
4545

4646
info "Configuring OpenCoarrays in ${PWD} with the command:"
47-
info "CC=\"${CC}\" FC=\"${FC}\" $CMAKE \"${opencoarrays_src_dir}\" \"${WDEVFLAG}\" -DCMAKE_INSTALL_PREFIX=\"${install_path}\" -DMPIEXEC=\"${MPIEXEC}\" -DMPI_C_COMPILER=\"${MPICC}\" -DMPI_Fortran_COMPILER=\"${MPIFC}\""
48-
CC="${CC}" FC="${FC}" $CMAKE "${opencoarrays_src_dir}" "${WDEVFLAG}" -DCMAKE_INSTALL_PREFIX="${install_path}" -DMPIEXEC="${MPIEXEC}" -DMPI_C_COMPILER="${MPICC}" -DMPI_Fortran_COMPILER="${MPIFC}"
47+
info "CC=\"${CC}\" FC=\"${FC}\" $CMAKE \"${OPENCOARRAYS_SRC_DIR}\" \"${WDEVFLAG}\" -DCMAKE_INSTALL_PREFIX=\"${install_path}\" -DMPIEXEC=\"${MPIEXEC}\" -DMPI_C_COMPILER=\"${MPICC}\" -DMPI_Fortran_COMPILER=\"${MPIFC}\""
48+
CC="${CC}" FC="${FC}" $CMAKE "${OPENCOARRAYS_SRC_DIR}" "${WDEVFLAG}" -DCMAKE_INSTALL_PREFIX="${install_path}" -DMPIEXEC="${MPIEXEC}" -DMPI_C_COMPILER="${MPICC}" -DMPI_Fortran_COMPILER="${MPIFC}"
4949
info "Building OpenCoarrays in ${PWD} with the command make -j${num_threads}"
5050
make "-j${num_threads}"
5151
if [[ ! -z ${SUDO:-} ]]; then

prerequisites/install-functions/report_results.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ report_results()
3434
# Prepend the OpenCoarrays license to the setup.sh script:
3535
while IFS='' read -r line || [[ -n "${line}" ]]; do
3636
echo "# ${line}" >> setup.sh
37-
done < "${OpenCoarrays_src_dir}/LICENSE"
37+
done < "${OPENCOARRAYS_SRC_DIR}/LICENSE"
3838
while IFS='' read -r line || [[ -n "${line}" ]]; do
3939
echo "# ${line}" >> setup.csh
40-
done < "${opencoarrays_src_dir}/LICENSE"
40+
done < "${OPENCOARRAYS_SRC_DIR}/LICENSE"
4141
echo "# " | tee -a setup.csh setup.sh
4242
echo "# Execute this script via the following command: " | tee -a setup.csh setup.sh
4343
echo "# source ${install_path%/}/setup.sh " | tee -a setup.csh setup.sh

0 commit comments

Comments
 (0)