1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Print 'cygpath -m' command if it fails

This commit is contained in:
Magnus Svensson
2008-09-22 18:44:35 +03:00
parent 623a10868b
commit c955eb6b68

View File

@ -69,8 +69,8 @@ sub mixed_path {
if (IS_CYGWIN){ if (IS_CYGWIN){
return unless defined $path; return unless defined $path;
my $cmd= "cygpath -m $path"; my $cmd= "cygpath -m $path";
print "$cmd\n"; $path= `$cmd` or
$path= `$cmd`; print "Failed to run: '$cmd', $!\n";
chomp $path; chomp $path;
} }
return $path; return $path;