6 if [ -f PLATFORM ]; then
7 PLATFORM="$(lsb_release -is)"
8 RELEASE="$(lsb_release -rs)"
9 if [ "${PLATFORM}" = 'CentOS' ]; then PLATFORM=-centos
10 elif [ "${PLATFORM}" = 'Debian' ]; then
11 if [ "${RELEASE}" = '8.0' ]; then PLATFORM=-d8
17 export ROOT_DIR=$(cd $(dirname $0)/.. && pwd)
18 export SOURCES_DIR=${ROOT_DIR}/sources
19 export BUILD_DIR=${ROOT_DIR}/build${PLATFORM}
20 export INSTALL_DIR=${ROOT_DIR}/install${PLATFORM}
22 export NEWGEOM_PDIR=/dn48/newgeom/common/products