]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[efi] Fix dependency list construction in EDK2 header import script
authorMichael Brown <mcb30@ipxe.org>
Fri, 24 Nov 2023 22:26:50 +0000 (22:26 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 24 Nov 2023 22:27:51 +0000 (22:27 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/efi/import.pl

index 34aed9a281fc410ba589a09b807dade0ceef7ff6..0a7669f43e8508ba923ca89a2d66a5abbff442e6 100755 (executable)
@@ -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$/ ) {