Changeset 645


Ignore:
Timestamp:
Oct 10, 2011 12:52:23 PM (12 years ago)
Author:
jemian
Message:

the EPD installer binary must have the exectuable bit set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • epd_deployment/deployment.sh

    r629 r645  
    101101# install EPD
    102102#
    103 echo "EPD_DEPLOYMENT_DIR = ${EPD_DEPLOYMENT_DIR}"
    104 ${EPD_OS_SPECIFIC_DISTRIBUTION} -b -p ${EPD_DEPLOYMENT_DIR}
    105 cd ${EPD_DEPLOYMENT_DIR}/bin
     103# TODO: need to check that ${EPD_OS_SPECIFIC_DISTRIBUTION} is executable or quite with error at this point!
     104#
     105if [ -x ${EPD_OS_SPECIFIC_DISTRIBUTION} ]; then
     106    echo "EPD_DEPLOYMENT_DIR = ${EPD_DEPLOYMENT_DIR}"
     107    ${EPD_OS_SPECIFIC_DISTRIBUTION} -b -p ${EPD_DEPLOYMENT_DIR}
     108    cd ${EPD_DEPLOYMENT_DIR}/bin
     109else
     110    echo "${EPD_OS_SPECIFIC_DISTRIBUTION} must be executable!"
     111    exit 0
     112fi
    106113
    107114
Note: See TracChangeset for help on using the changeset viewer.