mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Revert
mysql-test/lib/mtr_misc.pl: Revert change to outpout exe path and name in win format
This commit is contained in:
@@ -96,16 +96,7 @@ sub mtr_exe_exists (@) {
|
|||||||
map {$_.= ".exe"} @path if $::glob_win32;
|
map {$_.= ".exe"} @path if $::glob_win32;
|
||||||
foreach my $path ( @path )
|
foreach my $path ( @path )
|
||||||
{
|
{
|
||||||
if ( -x $path )
|
return $path if -x $path;
|
||||||
{
|
|
||||||
if ( $::glob_cygwin_perl )
|
|
||||||
{
|
|
||||||
$path= `cygpath -w $path`;
|
|
||||||
# Chop off the \n that cygpath adds
|
|
||||||
$path=~ s/\n//;
|
|
||||||
}
|
|
||||||
return $path;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if ( @path == 1 )
|
if ( @path == 1 )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user