mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Revert
This commit is contained in:
parent
0cc14310e8
commit
67f6576de8
1 changed files with 1 additions and 10 deletions
|
@ -96,16 +96,7 @@ sub mtr_exe_exists (@) {
|
|||
map {$_.= ".exe"} @path if $::glob_win32;
|
||||
foreach my $path ( @path )
|
||||
{
|
||||
if ( -x $path )
|
||||
{
|
||||
if ( $::glob_cygwin_perl )
|
||||
{
|
||||
$path= `cygpath -w $path`;
|
||||
# Chop off the \n that cygpath adds
|
||||
$path=~ s/\n//;
|
||||
}
|
||||
return $path;
|
||||
}
|
||||
return $path if -x $path;
|
||||
}
|
||||
if ( @path == 1 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue