summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/OpensslLib/process_files.pl
diff options
context:
space:
mode:
authorZurcher, Christopher J <christopher.j.zurcher@intel.com>2020-02-14 08:40:20 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-10 09:08:34 +0000
commitc72ca4666886ecb8fa690ec27f4e69e35bf7876b (patch)
treede9ce8f9be31f3156c03e5e3ca2e08cd75a9e3cf /CryptoPkg/Library/OpensslLib/process_files.pl
parent4249278aa686a695c0904b08801134ab289a0b3e (diff)
downloadedk2-c72ca4666886ecb8fa690ec27f4e69e35bf7876b.tar.gz
edk2-c72ca4666886ecb8fa690ec27f4e69e35bf7876b.tar.bz2
edk2-c72ca4666886ecb8fa690ec27f4e69e35bf7876b.zip
CryptoPkg/OpensslLib: Add "sort" keyword to header file parsing loop
This prevents the .inf files from being randomized after every run of process_files.pl. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyux.lu@intel.com> Signed-off-by: Christopher J Zurcher <christopher.j.zurcher@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'CryptoPkg/Library/OpensslLib/process_files.pl')
-rwxr-xr-xCryptoPkg/Library/OpensslLib/process_files.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/CryptoPkg/Library/OpensslLib/process_files.pl b/CryptoPkg/Library/OpensslLib/process_files.pl
index bbcfa0d0e7..11cd58cc4e 100755
--- a/CryptoPkg/Library/OpensslLib/process_files.pl
+++ b/CryptoPkg/Library/OpensslLib/process_files.pl
@@ -53,7 +53,7 @@ BEGIN {
"no-async",
"no-autoalginit",
"no-autoerrinit",
- "no-autoload-config",
+ "no-autoload-config",
"no-bf",
"no-blake2",
"no-camellia",
@@ -157,7 +157,7 @@ foreach my $product ((@{$unified_info{libraries}},
# Update the perl script to generate the missing header files
#
my @dir_list = ();
-for (keys %{$unified_info{dirinfo}}){
+for (sort keys %{$unified_info{dirinfo}}){
push @dir_list,$_;
}