Незначительные правки

pull/36/head 3158
parent b8307311ba
commit 0c3a50fca1

@ -1,6 +1,6 @@
declare -A ini declare -A ini
calc_repo_dirs(){ ini_repo_dirs(){
declare -A repos_location declare -A repos_location
import_repos_conf(){ import_repos_conf(){
local repos_conf local repos_conf
@ -57,9 +57,9 @@ calc_repo_dirs(){
get_list $(realpath /etc/portage/make.profile) get_list $(realpath /etc/portage/make.profile)
} }
calc_ini_files(){ ini_list_files(){
local path local path
for path in $(calc_repo_dirs) \ for path in $(ini_repo_dirs) \
/var/lib/calculate/calculate-update \ /var/lib/calculate/calculate-update \
"$HOME/.calculate" \ "$HOME/.calculate" \
/var/lib/calculate \ /var/lib/calculate \
@ -77,7 +77,7 @@ calc_ini_files(){
# The function reads values from all ini.env files into the ini array # The function reads values from all ini.env files into the ini array
get_ini(){ get_ini(){
local line sec ini_file local line sec ini_file
for ini_file in $(calc_ini_files) for ini_file in $(ini_list_files)
do do
while IFS= read -r line while IFS= read -r line
do do

Loading…
Cancel
Save