--- badi/public_scripts/parallelstarter/db_backup/generate_arglist 2012/09/06 20:23:54 1.2 +++ badi/public_scripts/parallelstarter/db_backup/generate_arglist 2012/09/06 21:16:42 1.3 @@ -7,9 +7,9 @@ # the default ports function getdefault_dbport { - if [ "$DBTYPE" = "mysql" ]; then + if [ "$curtype" = "mysql" ]; then echo -n "3306" - elif [ "$DBTYPE" = "postgresql" ]; then + elif [ "$curtype" = "postgresql" ]; then echo -n "5432" fi }