Merge tag 'kbuild-fixes-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/masah...
[linux-2.6-microblaze.git] / scripts / get_abi.pl
index 25836ac..1389db7 100755 (executable)
@@ -92,6 +92,7 @@ sub parse_abi {
        my $mode = (stat($file))[2];
        return if ($mode & S_IFDIR);
        return if ($file =~ m,/README,);
+       return if ($file =~ m,/\.,);
 
        my $name = $file;
        $name =~ s,.*/,,;
@@ -987,7 +988,7 @@ abi_book.pl - parse the Linux ABI files and produce a ReST book.
 B<abi_book.pl> [--debug <level>] [--enable-lineno] [--man] [--help]
               [--(no-)rst-source] [--dir=<dir>] [--show-hints]
               [--search-string <regex>]
-              <COMAND> [<ARGUMENT>]
+              <COMMAND> [<ARGUMENT>]
 
 Where B<COMMAND> can be: