Skip to content

Commit 4342718

Browse files
committed
typo
1 parent dfbe5fd commit 4342718

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/gfortran_utils.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)