Michael Buckley 1fb8daffaa Fix encoding in apex-to-file
We're using utf8
2018-01-05 16:11:52 -05:00

14 lines
675 B
Plaintext
Executable File

# designed to be called from frontrunner script
script_folder=$(dirname "${0}")
"${script_folder}"/check_conf_file.sh || exit 1
source config/asc.conf || exit 1
NLS_LANG=.AL32UTF8
export NLS_LANG
if [ -z "${app_alias}" ]; then
#call install_apex with an empty app_alias string (will ask for user input otherwise)
sqlplus "${username}"/"${password}"@"${database_connection}" @"${script_folder}"/install_apex.sql "${apexappid}" "${workspace_name}" "${parsing_schema}" '' || exit 1
else
sqlplus "${username}"/"${password}"@"${database_connection}" @"${script_folder}"/install_apex.sql "${apexappid}" "${workspace_name}" "${parsing_schema}" "${app_alias}" || exit 1
fi