aboutsummaryrefslogtreecommitdiff
path: root/build/oracle
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-27 12:26:23 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-27 12:26:23 +0200
commit9862cef1421bdc08a99c06f08de2dc5396832185 (patch)
treeb22891534be3c8dc02136de8e14dce43e5e91d3e /build/oracle
parent0bedf6c2353027436a40a385f16847c3a37d406b (diff)
Simplify Oracle driver
Diffstat (limited to 'build/oracle')
-rwxr-xr-xbuild/oracle/oracle3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/oracle/oracle b/build/oracle/oracle
index 6eedb14..276ac4d 100755
--- a/build/oracle/oracle
+++ b/build/oracle/oracle
@@ -45,7 +45,6 @@ if [ -z "$driver" ]; then
driver=sqlplus
fi
-opt="-L"
conn=$user
if [ -n "$passwd" ]; then
@@ -66,7 +65,7 @@ elif [ -n "$service" ]; then
conn="$conn@$service"
fi
-opt="-S $opt"
+opt="-L -S $opt"
if [ -n "$1" ]; then
exec $driver $opt $conn @$1