File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ if [ "$(uname)" == "Darwin" ]; then
4646 echo " shasum mismatch for gfortran-darwin-${arch} -${type} "
4747 exit 1
4848 fi
49- if [! -d /opt/gfortran ]; then
49+ if [[ ! -d /opt/gfortran ] ]; then
5050 sudo mkdir -p /opt/gfortran
5151 sudo chmod 777 /opt/gfortran
5252 fi
@@ -58,7 +58,7 @@ if [ "$(uname)" == "Darwin" ]; then
5858 }
5959
6060 function install_arm64_cross_gfortran {
61- download_and_unpack_gfortran arm64 cross
61+ download_and_unpack_gfortran arm64 cross
6262 export FC_ARM64=" $( find /opt/gfortran-darwin-arm64-cross/bin -name " *-gfortran" ) "
6363 local libgfortran=" $( find /opt/gfortran-darwin-arm64-cross/lib -name libgfortran.dylib) "
6464 local libdir=$( dirname $libgfortran )
@@ -68,6 +68,7 @@ if [ "$(uname)" == "Darwin" ]; then
6868 export FC=$FC_ARM64
6969 fi
7070 }
71+
7172 function install_gfortran {
7273 download_and_unpack_gfortran $( uname -m) native
7374 if [[ " ${PLAT:- } " == " universal2" ]]; then
You can’t perform that action at this time.
0 commit comments