From 0c3a50fca1800a44f6e77bf15f265a750c6ec1ce Mon Sep 17 00:00:00 2001 From: Alexander Tratsevskiy Date: Sat, 4 Feb 2023 23:36:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B7=D0=BD=D0=B0=D1=87=D0=B8?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B=D0=B5=20=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/ini.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/ini.sh b/scripts/ini.sh index 58217ed04..b88e9806f 100644 --- a/scripts/ini.sh +++ b/scripts/ini.sh @@ -1,6 +1,6 @@ declare -A ini -calc_repo_dirs(){ +ini_repo_dirs(){ declare -A repos_location import_repos_conf(){ local repos_conf @@ -57,9 +57,9 @@ calc_repo_dirs(){ get_list $(realpath /etc/portage/make.profile) } -calc_ini_files(){ +ini_list_files(){ local path - for path in $(calc_repo_dirs) \ + for path in $(ini_repo_dirs) \ /var/lib/calculate/calculate-update \ "$HOME/.calculate" \ /var/lib/calculate \ @@ -77,7 +77,7 @@ calc_ini_files(){ # The function reads values from all ini.env files into the ini array get_ini(){ local line sec ini_file - for ini_file in $(calc_ini_files) + for ini_file in $(ini_list_files) do while IFS= read -r line do