aboutsummaryrefslogtreecommitdiff
path: root/build/oracle
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-28 16:15:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-28 16:28:14 +0200
commite1f1d473091e2a33e9a18942dfb1416a27019e0f (patch)
treefa3077f5619cbb956c9d8c969a5c8f6f461ab9ca /build/oracle
parent3e4339ad65422372794d7ad66c290d283c1e3d05 (diff)
Clear shell variables before appending
Diffstat (limited to 'build/oracle')
-rwxr-xr-xbuild/oracle/oracle9
1 files changed, 8 insertions, 1 deletions
diff --git a/build/oracle/oracle b/build/oracle/oracle
index 4d518fe..e3030d6 100755
--- a/build/oracle/oracle
+++ b/build/oracle/oracle
@@ -9,6 +9,13 @@
# Oracle driver wrapper.
#
+driver=
+user=
+passwd=
+service=
+host=
+port=
+
while [ $# -gt 0 ]; do
case $1 in
--driver)
@@ -65,7 +72,7 @@ elif [ -n "$service" ]; then
conn="$conn@$service"
fi
-opt="-L $opt"
+opt="-L"
if [ -n "$1" ]; then
opt="-S $opt"