File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 global :
2424 - UT3_OWNER=ut3
2525 - UT3_OWNER_PASSWORD=ut3
26+ - UT3_RELEASE_VERSION_SCHEMA=UT3_LATEST_RELEASE
2627 - UT3_USER="UT3\$USER#"
2728 - UT3_USER_PASSWORD=ut3
2829 - UT3_TABLESPACE=users
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- cd " $( dirname " $( readlink -f " $0 " ) " ) "
3+ cd source
44set -ev
55# install core of utplsql
66" $SQLCLI " sys/$ORACLE_PWD @//$CONNECTION_STR AS SYSDBA << -SQL
7- pwd
87set feedback off
98set verify off
109
11- @../source/ install_headless.sql $UT3_OWNER $UT3_OWNER_PASSWORD
10+ @install_headless.sql $UT3_OWNER $UT3_OWNER_PASSWORD
1211SQL
1312
1413" $SQLCLI " sys/$ORACLE_PWD @//$CONNECTION_STR AS SYSDBA << -SQL
@@ -19,23 +18,10 @@ grant select any dictionary to $UT3_OWNER;
1918grant create any procedure, drop any procedure, execute any procedure to $UT3_OWNER ;
2019
2120set feedback off
22- @../source/ create_utplsql_owner.sql $UT3_USER $UT3_USER_PASSWORD $UT3_TABLESPACE
21+ @create_utplsql_owner.sql $UT3_USER $UT3_USER_PASSWORD $UT3_TABLESPACE
2322
24- cd ..
25-
26- --enable plsql debug
27- --cd development
28- --@ut_debug_enable.sql
29- --cd ..
30-
31- --cd source
32- 33- --@create_synonyms_and_grants_for_user.sql $UT3_OWNER $UT3_USER
34- --cd ..
35-
36- cd development
3723conn $UT3_OWNER /$UT3_OWNER_PASSWORD @//$CONNECTION_STR
38- @utplsql_style_check.sql
24+ @../development/ utplsql_style_check.sql
3925
4026exit
4127SQL
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- RELEASE_VERSION_SCHEMA=UT3_LATEST_RELEASE
43set -ev
54
65cd $UTPLSQL_DIR /source
76
8- " $SQLCLI " sys/$ORACLE_PWD @//$CONNECTION_STR AS SYSDBA << -SQL
7+ " $SQLCLI " sys/$ORACLE_PWD @//$CONNECTION_STR AS SYSDBA << SQL
8+ set serveroutput on
9+ set linesize 200
10+ set trimspool on
911declare
1012 i integer := 0;
1113begin
@@ -29,14 +31,14 @@ begin
2931 dbms_output.put_line('FAILED to drop '||syn.syn_name||' for object '||syn.for_object);
3032 end;
3133 end loop;
32- dbms_output.put_line('&&line_separator');
3334 dbms_output.put_line(i||' synonyms dropped');
3435end;
3536/
3637SQL
37- " $SQLCLI " sys/$ORACLE_PWD @//$CONNECTION_STR AS SYSDBA @install_headless.sql ${RELEASE_VERSION_SCHEMA}
38+
39+ " $SQLCLI " sys/$ORACLE_PWD @//$CONNECTION_STR AS SYSDBA @install_headless.sql ${UT3_RELEASE_VERSION_SCHEMA}
3840
3941" $SQLCLI " sys/$ORACLE_PWD @//$CONNECTION_STR AS SYSDBA << SQL
40- grant select any dictionary to ${RELEASE_VERSION_SCHEMA } ;
42+ grant select any dictionary to ${UT3_RELEASE_VERSION_SCHEMA } ;
4143exit
4244SQL
You can’t perform that action at this time.
0 commit comments