#!/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) 1992-2005
#*             Computer Associates International, Incorporated
#*                          All rights reserved
#*
#* ----------------------------------------------------------------------
#*  SCCS Module Control Stamp
#* ----------------------------------------------------------------------
#
#* "@(#)addpath	1.2  03/22/05 17:54:13"
#* "Copyright (C) 1992-2005 Computer Associates International, Inc.  All rights reserved."
#

# Append a directory to PATH, if not redundant.
ca_add_path()
{
	case "$PATH" in
	$1 | $1:* | *:$1:* | *:$1) ;;
	"") PATH=$1;;
	*) PATH=$PATH:$1;;
	esac
}
