From 4c3b2e5109b98b6689bc145875f8fda09867dd76 Mon Sep 17 00:00:00 2001 From: Michael Buckley Date: Mon, 2 Dec 2019 13:03:27 -0500 Subject: [PATCH] Add upcase helper for avoid warnings on schema name --- apex-source-control | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/apex-source-control b/apex-source-control index b99c84c..51ecad9 100755 --- a/apex-source-control +++ b/apex-source-control @@ -5,6 +5,10 @@ function die { exit 1 } +function upcase { + echo "$@" | tr '[a-z-]' '[A-Z_]' +} + function run_sql_cmd { local connect_string="${username}/${password}@${database_connection}" local sql_cmd @@ -115,7 +119,7 @@ function apex_to_file { function file_to_apex { source config/asc.conf || die No config file at config/asc.conf - run_sql_cmd @/dev/stdin "${apexappid}" "${workspace_name}" "${parsing_schema}" "${app_alias}" <