aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-11-24 22:26:50 +0000
committerMichael Brown <mcb30@ipxe.org>2023-11-24 22:27:51 +0000
commitc3dd3168c916f624af1b843515c1305387060611 (patch)
treeb5770cde863a5d4e56882970b164dc68f17c30eb
parentb829b1750de041f7d4fd0f4f86fbf968bdccda6a (diff)
downloadipxe-c3dd3168c916f624af1b843515c1305387060611.zip
ipxe-c3dd3168c916f624af1b843515c1305387060611.tar.gz
ipxe-c3dd3168c916f624af1b843515c1305387060611.tar.bz2
[efi] Fix dependency list construction in EDK2 header import script
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-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 34aed9a..0a7669f 100755
--- a/src/include/ipxe/efi/import.pl
+++ b/src/include/ipxe/efi/import.pl
@@ -68,7 +68,7 @@ sub try_import_file {
chomp;
# Update include lines, and record included files
if ( s/^(\s*\#include\s+)[<\"](\S+)[>\"]/$1<ipxe\/efi\/$2>/ ) {
- push @dependencies, $1;
+ push @dependencies, $2;
}
# Check for BSD licence statement
if ( /^\s*SPDX-License-Identifier: BSD-2-Clause-Patent$/ ) {