Commit cdda50ac authored by jani@ua141d10.elisa.omakaista.fi's avatar jani@ua141d10.elisa.omakaista.fi

Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0

into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
parents bc7856cd c98b90bb
...@@ -66,6 +66,11 @@ sub main ...@@ -66,6 +66,11 @@ sub main
else else
{ {
$opt_config_file= $1; $opt_config_file= $1;
if (!($opt_config_file =~ m/\//))
{
# No path. Use current working directory
$opt_config_file= "./" . $opt_config_file;
}
} }
} }
} }
...@@ -82,7 +87,11 @@ sub main ...@@ -82,7 +87,11 @@ sub main
{ {
$flag_exit= 1; $flag_exit= 1;
} }
if (!($opt_config_file =~ m/\//))
{
# No path. Use current working directory
$opt_config_file= "./" . $opt_config_file;
}
usage() if ($opt_help); usage() if ($opt_help);
if ($opt_verbose && $opt_silent) if ($opt_verbose && $opt_silent)
......
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