Sourcing oraenv.sh can be slow on certain environments due to the find command. Find in oraenv.sh should be removed and rather be part of the installation eg. by search and set default values.
move find commands to oudbase_install.sh. introduce the core config file oudenv_core.conf with customized values of ORACLE_HOME, ORACLE_FMW_HOME, JAVA_HOME etc
Sourcing oraenv.sh can be slow on certain environments due to the find command. Find in oraenv.sh should be removed and rather be part of the installation eg. by search and set default values.