From bc369d5c8d6ced6daeee4edf208ce88750201e6f Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 23 Nov 2024 20:26:49 +0300 Subject: [PATCH] get_kconfigs.sh: Rename distro variable --- .../config_files/distros/get_kconfigs.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel_hardening_checker/config_files/distros/get_kconfigs.sh b/kernel_hardening_checker/config_files/distros/get_kconfigs.sh index 49d6853..3897a09 100755 --- a/kernel_hardening_checker/config_files/distros/get_kconfigs.sh +++ b/kernel_hardening_checker/config_files/distros/get_kconfigs.sh @@ -2,7 +2,7 @@ oracle_git_url="https://raw.githubusercontent.com/oracle/kconfigs/refs/heads/gh-pages/out/" -distros_from_oracle=( +kconfigs_from_oracle=( "Android 12 (5.10) aarch64" "Android 15 (6.6) aarch64" "Arch x86_64" @@ -21,9 +21,9 @@ distros_from_oracle=( "Ubuntu 24.04 LTS Noble x86_64" ) -for distro in "${distros_from_oracle[@]}"; do - filename=$(echo ${distro// /_}) # Replace spaces with underscores - wget -O "${filename}.config" "${oracle_git_url}${distro}/config" # Fetch kconfig +for kconfig in "${kconfigs_from_oracle[@]}"; do + filename=$(echo ${kconfig// /_}) # Replace spaces with underscores + wget -O "${filename}.config" "${oracle_git_url}${kconfig}/config" # Fetch kconfig done # Fetch some other kconfigs -- 2.31.1