Skip to content

Commit

Permalink
Change OS logic to depend on standard shell variable rather than ESMF
Browse files Browse the repository at this point in the history
variable that is typically not available in this context.
  • Loading branch information
theurich committed Oct 26, 2023
1 parent 9f4a1fd commit eb7f4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testProtos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RESULTSDIR=NUOPC-PROTO-RESULTS
count=0
failcount=0

if [ "$ESMF_OS" = "Darwin" ]
if [[ $OSTYPE = *darwin* ]]
then
# Darwin systems that use Apple Clang need extra environment variables
# to find the libomp installation. These are important for the ESMX
Expand Down

0 comments on commit eb7f4c2

Please sign in to comment.