Ignore:
Timestamp:
11/19/22 15:08:12 (2 years ago)
Author:
jdquinn
Message:

CHG: Updates to way we discover libgfortran in ext pkg install scripts; file name; compact unbind warning suppression.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/gmt/install-6-mac.sh

    r27202 r27397  
    99# Find libgfortran so that we do not have to hardcode it.
    1010#
    11 # Should retrieve a copy of gfortran that is compiled from source before
    12 # returning one that is installed via package manager.
    13 #
    1411# TODO:
    1512# - Move this to etc/environment.sh
    1613#
    17 LIBGFORTRAN=$(mdfind -onlyin /usr -name libgfortran | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1)
     14LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    1815LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
    1916
Note: See TracChangeset for help on using the changeset viewer.