Print 'cygpath -m' command if it fails

This commit is contained in:
Magnus Svensson 2008-09-22 18:44:35 +03:00
parent ed64708336
commit 670a46aa0a

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;