envmng/etc/envmng.d/vac
agibert f7d6813e0c - Add AIX support,
- Add --list (-l), --listid (-li) and --listenv (-le) options.
- Add and rework many scripts in etc/envmng.d directory...
2009-01-13 13:27:53 +00:00

34 lines
824 B
Plaintext

# $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