diff --git a/builder-chroot.sh b/builder-chroot.sh index 2466aef..15feebf 100755 --- a/builder-chroot.sh +++ b/builder-chroot.sh @@ -40,8 +40,7 @@ main() { done for i in "${repos[@]}"; do - echo "$i" - cd "${cfg_repos_dir}/${repo}" + cd "${cfg_repos_dir}/${i}" repo-add -n "${repo_name}.db.tar.gz" *.pkg.tar.xz done }