aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/include/ipxe/efi/import.pl2
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