diff options
Diffstat (limited to 'src/main/swm/common/common.env')
-rw-r--r-- | src/main/swm/common/common.env | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/swm/common/common.env b/src/main/swm/common/common.env new file mode 100644 index 0000000..b6ae68a --- /dev/null +++ b/src/main/swm/common/common.env @@ -0,0 +1,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} +} + + + |