mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Allow Windows absolute paths in N:\ formatfor the --vardir option
This commit is contained in:
parent
d8ac252f0e
commit
678f221cb9
1 changed files with 1 additions and 1 deletions
|
@ -1442,7 +1442,7 @@ sub command_line_setup {
|
|||
|
||||
# We make the path absolute, as the server will do a chdir() before usage
|
||||
unless ( $opt_vardir =~ m,^/, or
|
||||
(IS_WINDOWS and $opt_vardir =~ m,^[a-z]:/,i) )
|
||||
(IS_WINDOWS and $opt_vardir =~ m,^[a-z]:[/\\],i) )
|
||||
{
|
||||
# Make absolute path, relative test dir
|
||||
$opt_vardir= "$glob_mysql_test_dir/$opt_vardir";
|
||||
|
|
Loading…
Reference in a new issue