diff options
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-x | cron-jobs/sourceballs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index efa9f09..2e7b7be 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -8,7 +8,7 @@ pushd "${work_directory}" >/dev/null script_lock for repo in "${repositories[@]}"; do - for arch in "${architectures[@]}"; do + for arch in "${native_architectures[@]}"; do repo_lock "${repo}" "${arch}" || exit 1 done done @@ -19,7 +19,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 arch in "${architectures[@]}"; 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 continue @@ -40,7 +40,7 @@ for repo in "${repositories[@]}"; do done for repo in "${repositories[@]}"; do - for arch in "${architectures[@]}"; do + for arch in "${native_architectures[@]}"; do repo_unlock "${repo}" "${arch}" done done |