[Mapbender-commits] r5182 - trunk/mapbender/resources/db
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Dec 12 09:21:24 EST 2009
Author: astrid_emde
Date: 2009-12-12 09:21:22 -0500 (Sat, 12 Dec 2009)
New Revision: 5182
Modified:
trunk/mapbender/resources/db/update.sh
Log:
Modified: trunk/mapbender/resources/db/update.sh
===================================================================
--- trunk/mapbender/resources/db/update.sh 2009-12-12 13:48:40 UTC (rev 5181)
+++ trunk/mapbender/resources/db/update.sh 2009-12-12 14:21:22 UTC (rev 5182)
@@ -93,11 +93,11 @@
function set_db_config(){
echo ""
echo "set variables to input:"
- set DBVERSION := 'postgreql'
- set DBHOST := $2
- set DBPORT := $3
- set DBNAME := $4
- set DBUSER := $5
+ set DBVERSION='postgreql'
+ set DBHOST=$2
+ set DBPORT=$3
+ set DBNAME=$4
+ set DBUSER=$5
}
function run_mysql_update(){
@@ -141,11 +141,11 @@
show_disclaimer;
if [ $# -lt 1 ]
then
+ echo "get_db_config - variables have to be set"
+ get_db_config;
+else
echo "set_db_config - variables where passed when the script was called"
set_db_config;
-else
- echo "get_db_config - variables have to be set"
- get_db_config;
fi;
show_db_config;
More information about the Mapbender_commits
mailing list