diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-27 13:36:03 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-11-01 13:46:41 +0200 |
commit | 1f84261ffcb3c6efbe450bf904e3e8c63f9f80e0 (patch) | |
tree | 7c418c8ba56eea463f69038fd7d85e97e9f96cfc /build/oracle | |
parent | d1195999bfd67ca5aac2b0b5257a3538582f41e6 (diff) |
Only pass -S option to sqlplus when the Oracle driver is passed a file
Diffstat (limited to 'build/oracle')
-rwxr-xr-x | build/oracle/oracle | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/oracle/oracle b/build/oracle/oracle index 276ac4d..9228025 100755 --- a/build/oracle/oracle +++ b/build/oracle/oracle @@ -65,9 +65,10 @@ elif [ -n "$service" ]; then conn="$conn@$service" fi -opt="-L -S $opt" +opt="-L $opt" if [ -n "$1" ]; then + opt="-S $opt" exec $driver $opt $conn @$1 else exec $driver $opt $conn |