diff options
-rwxr-xr-x | src/include/ipxe/efi/import.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/efi/import.pl b/src/include/ipxe/efi/import.pl index 7177768..ec98602 100755 --- a/src/include/ipxe/efi/import.pl +++ b/src/include/ipxe/efi/import.pl @@ -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 |