MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/bin/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/bin/okaroot

#!/bin/sh 
#
#
# okaroot
# 
# Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. 
#
#    NAME
#      okaroot - front end for the Perl script that does the work.
#
#    DESCRIPTION
#      Purpose
#          install or uninstall OKA components.
#
#    NOTES
#
#
#    NOTES
#      This wrapper program now supports only Lunix/Unix platforms.
#      Use okaroot.bat for Windows platforms.
#
#############################################################################

if [ ! -d "$ADE_VIEW_ROOT" ] ; then
  BASE=`dirname $0`
  cd $BASE
  ORACLE_HOME=`pwd`
  if [ `basename $ORACLE_HOME` = 'bin' ] ; then
    # usm_root lives in $ORACLE_HOME/bin - lose the trailing '/bin'.
    ORACLE_HOME=`dirname $ORACLE_HOME`
    ORA_CRS_HOME=$ORACLE_HOME
  fi
fi

export ORACLE_HOME ORA_CRS_HOME

CMDNAME=okaroot
 
TOOLS_DRIVER=${ORACLE_HOME}/lib/okatoolsdriver.sh

exec $TOOLS_DRIVER $CMDNAME $@
# Should never get here.
exit -1

OHA YOOOO