Changeset 20328


Ignore:
Timestamp:
03/22/16 09:10:05 (9 years ago)
Author:
Mathieu Morlighem
Message:

CHG: only export PETSC_DIR if diretctory exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/etc/environment.sh

    r20248 r20328  
    9696
    9797PETSC_DIR="$ISSM_DIR/externalpackages/petsc/install"
    98 export PETSC_DIR
    99 libpathappend "$PETSC_DIR/lib"
     98if [ -d "$PETSC_DIR" ]; then
     99        export PETSC_DIR
     100        libpathappend "$PETSC_DIR/lib"
     101fi
    100102
    101103SLEPC_DIR="$ISSM_DIR/externalpackages/slepc/install"
Note: See TracChangeset for help on using the changeset viewer.