Commit 07da7a6f authored by claes's avatar claes

Adapted to V4.0

parent fa47df39
......@@ -3,23 +3,16 @@
# This procedure is started from the navigator 'Open db' method for
# DbConfig and DbTrace objects.
#
database=$1
username=$2
password=$3
volume=$4
title=$5
username=$1
password=$2
database=$3
title=$4
set -o xtrace
if [ -z $database ]; then
echo "Database id is missing"
echo "Database is missing"
return
fi
source pwrp_env.sh setdb $database
if [ -z $volume ]; then
echo "-- Opening database '$database'"
wb $username $password
else
echo "-- Opening database '$database' volume '$volume'"
wb $username $password $volume
fi
echo "-- Opening volume '$database'"
wb $username $password $database
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