Changeset 25188


Ignore:
Timestamp:
06/29/20 23:57:54 (5 years ago)
Author:
jdquinn
Message:

CHG: Check for MATLAB installation.

Location:
issm/trunk-jpl/packagers
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-solid_earth.sh

    r25034 r25188  
    1212TARBALL_NAME="issm-linux-solid_earth"
    1313TARBALL="${TARBALL_NAME}.tar.gz"
     14
     15# Check if MATLAB exists
     16if ! [ -d ${MATLAB_PATH} ]; then
     17        echo "${MATLAB_PATH} does not point to a MATLAB installation! Please modify MATLAB_PATH variable in $(basename $0) and try again."
     18        exit 1
     19fi
    1420
    1521# Clean up from previous packaging
  • issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-with_dakota.sh

    r25175 r25188  
    1212TARBALL_NAME="issm-linux-with_dakota"
    1313TARBALL="${TARBALL_NAME}.tar.gz"
     14
     15# Check if MATLAB exists
     16if ! [ -d ${MATLAB_PATH} ]; then
     17        echo "${MATLAB_PATH} does not point to a MATLAB installation! Please modify MATLAB_PATH variable in $(basename $0) and try again."
     18        exit 1
     19fi
    1420
    1521# Clean up from previous packaging
  • issm/trunk-jpl/packagers/linux/package-issm-linux-binaries.sh

    r24703 r25188  
    1111TARBALL_NAME="issm-linux"
    1212TARBALL="${TARBALL_NAME}.tar.gz"
     13
     14# Check if MATLAB exists
     15if ! [ -d ${MATLAB_PATH} ]; then
     16        echo "${MATLAB_PATH} does not point to a MATLAB installation! Please modify MATLAB_PATH variable in $(basename $0) and try again."
     17        exit 1
     18fi
    1319
    1420# Clean up from previous packaging
  • issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-with_dakota.sh

    r25177 r25188  
    1010TARBALL_NAME="issm-mac-with_dakota"
    1111TARBALL="${TARBALL_NAME}.tar.gz"
     12
     13# Check if MATLAB exists
     14if ! [ -d ${MATLAB_PATH} ]; then
     15        echo "${MATLAB_PATH} does not point to a MATLAB installation! Please modify MATLAB_PATH variable in $(basename $0) and try again."
     16        exit 1
     17fi
    1218
    1319# Clean up from previous packaging
  • issm/trunk-jpl/packagers/mac/package-issm-mac-binaries.sh

    r24703 r25188  
    99TARBALL_NAME="issm-mac"
    1010TARBALL="${TARBALL_NAME}.tar.gz"
     11
     12# Check if MATLAB exists
     13if ! [ -d ${MATLAB_PATH} ]; then
     14        echo "${MATLAB_PATH} does not point to a MATLAB installation! Please modify MATLAB_PATH variable in $(basename $0) and try again."
     15        exit 1
     16fi
    1117
    1218# Clean up from previous packaging
Note: See TracChangeset for help on using the changeset viewer.