Commit 07da7a6f authored by claes's avatar claes

Adapted to V4.0

parent fa47df39
...@@ -3,23 +3,16 @@ ...@@ -3,23 +3,16 @@
# This procedure is started from the navigator 'Open db' method for # This procedure is started from the navigator 'Open db' method for
# DbConfig and DbTrace objects. # DbConfig and DbTrace objects.
# #
database=$1 username=$1
username=$2 password=$2
password=$3 database=$3
volume=$4 title=$4
title=$5
set -o xtrace
if [ -z $database ]; then if [ -z $database ]; then
echo "Database id is missing" echo "Database is missing"
return return
fi fi
source pwrp_env.sh setdb $database echo "-- Opening volume '$database'"
wb $username $password $database
if [ -z $volume ]; then
echo "-- Opening database '$database'"
wb $username $password
else
echo "-- Opening database '$database' volume '$volume'"
wb $username $password $volume
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment