#!/bin/sh
#* ----------------------------------------------------------------------
#*               Proprietary and Confidential Information
#*
#* This material contains, and is part of a computer software program
#* which is, proprietary and confidential information owned by COMPUTER
#* ASSOCIATES INTERNATIONAL, INC.  The program, including this material,
#* may not be duplicated, disclosed or reproduced in whole or in part for
#* any purpose without the express written authorization of COMPUTER
#* ASSOCIATES. All authorized reproductions must be marked with this
#* legend.
#*
#*                           Copyright (c) 2004
#*             Computer Associates International, Incorporated
#*                          All rights reserved
#*
#* ----------------------------------------------------------------------

# envset for CA Message Queuing [CAM]
#
#  Allow environment vars to be unset
set +u

if [ -z "$CAI_MSQ" ]
then
    if [ -f /etc/catngcampath ]
    then
        CAI_MSQ="`cat /etc/catngcampath`"
    else 
        echo "CAM does not seem to be installed properly and fallback"
        echo "action cannot be taken to avoid the problem."
        echo " "
        exit 1
    fi
    export CAI_MSQ
fi

. "$CAI_MSQ/scripts/envusr"
