]> git.proxmox.com Git - mirror_qemu.git/blobdiff - scripts/get_maintainer.pl
migration/qemu-file: remove check on writev_buffer in qemu_put_compression_data
[mirror_qemu.git] / scripts / get_maintainer.pl
index 07369aa8ea9b219d9d072b263d4dfab1bed0055e..71415e3c706106958eb0a85cb98e921ba73077a9 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.org/qemu.git\n");
+       warn("git clone https://git.qemu.org/git/qemu.git\n");
        $printed_novcs = 1;
     }
     return 0;