util/get_maintainer.pl: Fix top_of_kernel_tree check

The script checks for a folder called documentation, while the folder
name is Documentation.

Without this change, I get this when running the script:
util/scripts/get_maintainer.pl: The current directory does not appear to be
 a coreboot source tree.

Change-Id: Ied7ead7dfec33e9324f06d0ef60dcd6d7ba40104
Signed-off-by: Ben Gardner <gardner.ben@gmail.com>
Reviewed-on: https://review.coreboot.org/13062
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Ben Gardner 2016-01-20 10:36:15 -06:00 committed by Martin Roth
parent e91e70cb92
commit 5d7cbc272e
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ sub top_of_kernel_tree {
}
if ( (-f "${lk_path}MAINTAINERS")
&& (-f "${lk_path}Makefile")
&& (-d "${lk_path}documentation")
&& (-d "${lk_path}Documentation")
&& (-d "${lk_path}src")
&& (-d "${lk_path}util")) {
return 1;