diff options
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-x | cron-jobs/sourceballs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index d01b91b..9deaf71 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -7,7 +7,7 @@ pushd "${work_directory}" >/dev/null script_lock -for repo in "${repositories[@]}"; do +for repo in "${main_repositories[@]}"; do for arch in "${native_architectures[@]}"; do repo_lock "${repo}" "${arch}" || exit 1 done @@ -18,7 +18,7 @@ renice +10 -p $$ > /dev/null # Create a readable file for each repo with the following format # <pkgbase|pkgname> <pkgver>-<pkgrel> <arch> <license>[ <license>] -for repo in "${repositories[@]}"; do +for repo in "${main_repositories[@]}"; do for arch in "${native_architectures[@]}"; do # Repo does not exist; skip it if [ ! -f "${root_dir}/${repo}/os/${arch}/${repo}${database_extension_suffixfile}" ]; then @@ -39,7 +39,7 @@ for repo in "${repositories[@]}"; do done | sort -u > "${work_directory}/db-${repo}" done -for repo in "${repositories[@]}"; do +for repo in "${main_repositories[@]}"; do for arch in "${native_architectures[@]}"; do repo_unlock "${repo}" "${arch}" done @@ -49,7 +49,7 @@ done find "${root_dir}/${native_sources_pool}" -xtype f -name "*${source_extension_suffixfile}" -printf '%f\n' | sort -u > "${work_directory}/available-src-pkgs" # Check for all packages if we need to build a source package -for repo in "${repositories[@]}"; do +for repo in "${main_repositories[@]}"; do newpkgs=() failedpkgs=() while read line; do |