diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-24 00:09:48 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-24 00:09:48 -0300 |
commit | e21b2e2ecc559e525d43650239631b838bb79d51 (patch) | |
tree | a479435c1250d8aa739394f67cb3cf51bdfc9d5a /cron-jobs/sourceballs | |
parent | f291f3c6183f9ddfa189bc231fefac358523f929 (diff) |
remove deprecated repositories variables
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 |