summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois-Xavier Carton <fx.carton91@gmail.com>2022-03-15 18:58:40 +0100
committerSam James <sam@gentoo.org>2022-03-16 17:06:55 +0000
commit52ee3665d1b64abc9435d07d0329b2af2b9fc4a4 (patch)
tree999b30f90f6d6e06d46fda5cf7175c2b13eb831e /eclass/fortran-2.eclass
parentx11-wm/dwm: quote variables to allow CC containing spaces (diff)
downloadgentoo-52ee3665d1b64abc9435d07d0329b2af2b9fc4a4.tar.gz
gentoo-52ee3665d1b64abc9435d07d0329b2af2b9fc4a4.tar.bz2
gentoo-52ee3665d1b64abc9435d07d0329b2af2b9fc4a4.zip
fortran-2.eclass: quote variables to allow FC containing spaces
Signed-off-by: François-Xavier Carton <fx.carton91@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24595 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/fortran-2.eclass')
-rw-r--r--eclass/fortran-2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index 2409cfcda5be..8fea2b4ceced 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -229,11 +229,11 @@ _fortran_test_function() {
: ${FORTRAN_STANDARD:=77}
for dialect in ${FORTRAN_STANDARD}; do
case ${dialect} in
- 77) _fortran_compile_test $(tc-getF77) || \
+ 77) _fortran_compile_test "$(tc-getF77)" || \
_fortran_die_msg ;;
- 90|95) _fortran_compile_test $(tc-getFC) 90 || \
+ 90|95) _fortran_compile_test "$(tc-getFC)" 90 || \
_fortran_die_msg ;;
- 2003) _fortran_compile_test $(tc-getFC) 03 || \
+ 2003) _fortran_compile_test "$(tc-getFC)" 03 || \
_fortran_die_msg ;;
2008) die "Future" ;;
*) die "${dialect} is not a Fortran dialect." ;;