mirror of https://github.com/ipxe/ipxe.git
[efi] Allow for whitespace before #include in imported EDK2 header files
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/871/head
parent
dac41fc4ec
commit
91944c6341
|
@ -67,7 +67,7 @@ sub try_import_file {
|
|||
s/\s*$//g;
|
||||
chomp;
|
||||
# Update include lines, and record included files
|
||||
if ( s/^\#include\s+[<\"](\S+)[>\"]/\#include <ipxe\/efi\/$1>/ ) {
|
||||
if ( s/^(\s*\#include\s+)[<\"](\S+)[>\"]/$1<ipxe\/efi\/$2>/ ) {
|
||||
push @dependencies, $1;
|
||||
}
|
||||
# Check for BSD licence statement
|
||||
|
|
Loading…
Reference in New Issue