Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed typo in parameter expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
MintoDA1 authored and MintoDA1 committed Aug 12, 2023
1 parent 275a2cb commit 2f40ed0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions buildscripts/build_swiftest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ if [[ ( $@ == "--help") || $@ == "-h" ]]; then
exit 0
fi
COMPILER=${1:-Intel}
DEPDIR={$2:-$(realpath ${ROOT_DIR}/build)}
DEPDIR_DEFAULT=$(realpath ${ROOT_DIR}/build)
DEPDIR=${2:-$DEPDIR_DEFAULT}
echo "NetCDF & HDF library directory: ${DEPDIR}"

case $COMPILER in
Intel)
Expand Down Expand Up @@ -52,7 +54,8 @@ case $COMPILER in
;;
esac
export F77=${FC}
echo "Using $COMPILER compilers:\nFC: $FC\nCC: $CC\nCXX: $CXX\n"
NL=$'\n'
echo "Using ${COMPILER} compilers:${NL}FC: ${FC}${NL}CC: ${CC}${NL}CXX: ${CXX}${NL}"

export CPATH=$DEPDIR/include
export NETCDF_FORTRAN_HOME=$DEPDIR
Expand Down

0 comments on commit 2f40ed0

Please sign in to comment.