From 40c1b8beee312eb97e884baba596f36032862732 Mon Sep 17 00:00:00 2001 From: fbt Date: Mon, 2 Feb 2015 03:47:26 +0300 Subject: [PATCH] asdlfjsd --- builder-chroot.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/builder-chroot.sh b/builder-chroot.sh index 4bebeaa..d0b6397 100755 --- a/builder-chroot.sh +++ b/builder-chroot.sh @@ -36,11 +36,9 @@ main() { for r in "$i"/*; do build_pkg "$repo_name" "${r##*/}" done - done - for i in "${cfg_repos[@]}"; do - cd "${cfg_repos_dir}/${i}" - repo-add -n "$i.db.tar.gz" *.pkg.tar.xz + cd "$i" + repo-add -n "${repo_name}.db.tar.gz" *.pkg.tar.xz done }