summaryrefslogtreecommitdiffstats
path: root/src/main/swm/common/common.env
blob: b6ae68ae22c954f76ac46fd7ed5c7d9ae531677b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This file is used to source variables from the generated archetype
# Because the *proc.sh scripts may contain variables that conflict with 
# Maven variables, we exclude those scripts and only replace values here
ROOT_DIR=${INSTALL_ROOT}${distFilesRoot}; export ROOT_DIR
LRMCLI=${INSTALL_ROOT}/opt/app/aft/scldlrm/bin/lrmcli
PATH=$PATH:`dirname $0`/utils; export PATH


# Fail - used to quickly exit with a rc and error message
fail() {
    rc=$1
    shift;
    echo "PROC_USER_MSG: [$rc]: $@" >&2
    exit ${rc}
}