2009-01-12 18:59:03 +01:00
|
|
|
# $RCSfile: ora817a,v $
|
2009-01-13 14:27:53 +01:00
|
|
|
# $Revision: 1.2 $
|
2009-01-12 18:59:03 +01:00
|
|
|
# $Name: $
|
2009-01-13 14:27:53 +01:00
|
|
|
# $Date: 2009/01/13 13:27:53 $
|
2009-01-12 18:59:03 +01:00
|
|
|
# $Author: agibert $
|
|
|
|
|
2009-01-13 14:27:53 +01:00
|
|
|
# EnvMng Environment configuration
|
|
|
|
#
|
|
|
|
# description: Oracle 8.17a
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
2009-01-12 18:59:03 +01:00
|
|
|
case "$1" in
|
|
|
|
*profile)
|
|
|
|
export ORACLE_HOME=/home/logiciel/oracle/ora817a
|
|
|
|
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
|
|
|
|
export NLS_LANG=american_america.we8iso8859p1
|
|
|
|
export NLS_SORT=BINARY
|
|
|
|
export ORACLE_TERM=vt100
|
|
|
|
export ORACLE_RM=Oracle_XA_8
|
|
|
|
|
|
|
|
export ORACLE_SID=$(/usr/bin/awk "BEGIN {print toupper(\"$TARGET_ID\")}")
|
|
|
|
export CONFIGORAIC=$TARGET_HOME/appli/expl/oracle/ora_target/init
|
|
|
|
export EXPLORAIC=$TARGET_HOME/appli/expl/oracle/ora_target
|
|
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
# PATH definitions
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
path=$ORACLE_HOME/bin
|
|
|
|
export PATH=$(envmng_path_add "$PATH" "$path")
|
|
|
|
|
|
|
|
shlib_path=$ORACLE_HOME/lib
|
|
|
|
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
|
|
|
;;
|
|
|
|
|
|
|
|
*rc)
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
envmng_echo "$0: Invalid command: [$1] !"
|
|
|
|
;;
|
|
|
|
esac
|