aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com>2011-06-13 10:28:59 +0200
committerKacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com>2011-06-13 10:28:59 +0200
commit6407b4e2939f67c30fe20f1cda71cfd2ea3def5c (patch)
tree72908475ad3a351e69d61d7e141d6427acd7778f /eclass/fortran-2.eclass
parentfix typos (diff)
downloadsci-6407b4e2939f67c30fe20f1cda71cfd2ea3def5c.tar.gz
sci-6407b4e2939f67c30fe20f1cda71cfd2ea3def5c.tar.bz2
sci-6407b4e2939f67c30fe20f1cda71cfd2ea3def5c.zip
[fortran-2.eclass] remove unnecessary quotes
Diffstat (limited to 'eclass/fortran-2.eclass')
-rw-r--r--eclass/fortran-2.eclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index 051182668..28aed1a43 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -50,7 +50,7 @@ _have-valid-fortran() {
# See if the fortran supports OpenMP.
_fortran-has-openmp() {
local flag
- case "$(tc-getFC)" in
+ case $(tc-getFC) in
*gfortran*|pathf*)
flag=-fopenmp ;;
ifort)
@@ -91,7 +91,7 @@ get_fcomp() {
echo "pathcc" ;;
mpi*)
local _fcomp=$($(tc-getFC) -show | awk '{print $1}')
- echo "$(FC=${_fcomp} get_fcomp)";;
+ echo $(FC=${_fcomp} get_fcomp) ;;
* )
echo $(tc-getFC) ;;
esac
@@ -103,10 +103,10 @@ get_fcomp() {
fortran-2_pkg_setup() {
_have-valid-fortran || \
die "Please emerge the current gcc with USE=fortran or export FC defining a working fortran compiler"
- export FC="$(tc-getFC)"
- export F77="$(tc-getFC)"
- export F90="$(tc-getFC)"
- export F95="$(tc-getFC)"
+ export FC=$(tc-getFC)
+ export F77=$(tc-getFC)
+ export F90=$(tc-getFC)
+ export F95=$(tc-getFC)
if [[ ${FC_NEED_OPENMP} == 1 ]]; then
_fortran-has-openmp || \
die "Please emerge current gcc with USE=openmp or export FC with compiler that supports OpenMP"