<!-- Oracle Remote Diagnostic Agent / Data Collection Results 4.29 -->
<!-- Module:S301WREQ Version:1.48 Report:log_pack_sh OS:linux -->
---+ Display of pack.sh File
---## Information Taken from /u01/install/APPS/fs1/FMW_Home/oracle_common/common/bin/pack.sh
<verbatim:stat>
 -rwxr-x--- 1 applmgr oinstall 773  Apr 21 18:24 2015  Apr 21 18:17 2015  pack.sh
</verbatim>
<verbatim>
#!/bin/sh

mypwd="`pwd`"

# Determine the location of this script...
# Note: this will not work if the script is sourced (. ./pack.sh)
SCRIPTNAME=$0
case ${SCRIPTNAME} in
 /*)  SCRIPTPATH=`dirname "${SCRIPTNAME}"` ;;
  *)  SCRIPTPATH=`dirname "${mypwd}/${SCRIPTNAME}"` ;;
esac

# Set the ORACLE_HOME relative to this script...
ORACLE_HOME=`cd "${SCRIPTPATH}/../.." ; pwd`
export ORACLE_HOME

# Set the MW_HOME relative to the ORACLE_HOME...
MW_HOME=`cd "${ORACLE_HOME}/.." ; pwd`
export MW_HOME

# Set the home directories...
. "${SCRIPTPATH}/setHomeDirs.sh"

# Set the config jvm args...
CONFIG_JVM_ARGS="${CONFIG_JVM_ARGS} -DCOMMON_COMPONENTS_HOME='${COMMON_COMPONENTS_HOME}'"
export CONFIG_JVM_ARGS

# Delegate to the main script...
"${WL_HOME}/common/bin/pack.sh" "$@"
</verbatim>
[[#Top][Back to top]]
