envmng/etc/envmng.d/vac

34 lines
824 B
Plaintext
Raw Normal View History

# $RCSfile: vac,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/13 13:27:53 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: IBM VAC C compiler
#-------------------------------------------------------------------------------
case "$1" in
*profile)
export VAC_HOME=/usr/vac
#----------------------------------------------------------------------------
# PATH definitions
#----------------------------------------------------------------------------
path=$VAC_HOME/bin
manpath=$VAC_HOME/man/%L
export PATH=$(envmng_path_add "$PATH" "$path")
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
;;
*rc)
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac