]> Git Repo - qemu.git/blobdiff - scripts/get_maintainer.pl
Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20181011a' into...
[qemu.git] / scripts / get_maintainer.pl
index 711a9a6bd07e6b25f6fd73444ede31d8a868d68a..43fb5f512f70d8f7b32681393b564dcee51c1e67 100755 (executable)
@@ -381,8 +381,8 @@ foreach my $file (@ARGV) {
        ##if $file is a directory and it lacks a trailing slash, add one
        if ((-d $file)) {
            $file =~ s@([^/])$@$1/@;
-       } elsif (!(-f $file)) {
-           die "$P: file '${file}' not found\n";
+       } elsif (!(stat $file)) {
+           die "$P: file '${file}' not found: $!\n";
        }
     }
     if ($from_filename) {
@@ -1376,7 +1376,7 @@ sub vcs_exists {
        warn("$P: No supported VCS found.  Add --nogit to options?\n");
        warn("Using a git repository produces better results.\n");
        warn("Try latest git repository using:\n");
-       warn("git clone git://git.qemu-project.org/qemu.git\n");
+       warn("git clone git://git.qemu.org/qemu.git\n");
        $printed_novcs = 1;
     }
     return 0;
This page took 0.024779 seconds and 4 git commands to generate.