Ignore:
Timestamp:
01/21/22 21:43:56 (3 years ago)
Author:
jdquinn
Message:

BUG: Better check on macOS version; yts was not defined in marshall method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r26801 r26804  
    210210        SYSTEM_FMEMOPEN=1
    211211        if test "${IS_MAC}" == "yes"; then
    212                 if [[ $(system_profiler SPSoftwareDataType | grep "System Version:" | sed -e "s/[[:space:]]*System Version: macOS //" | cut -d "." -f 2) -lt 13 ]]; then
     212                sys_ver=$(sw_vers -productVersion)
     213                if [[ $(echo ${sys_ver} | cut -d "." -f 1) -eq 10 && $(echo ${sys_ver} | cut -d "." -f 2) -eq 13 ]]; then
    213214                        SYSTEM_FMEMOPEN=0
    214215                fi
Note: See TracChangeset for help on using the changeset viewer.