diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-17 11:57:48 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-17 11:57:48 -0300 |
commit | 7dfa60c89fe293ca4004bac15be0e1ffffc9dc7d (patch) | |
tree | 5161425e4bdb43947ad9b9195f1ca4653b1d6fa2 | |
parent | 2c4723526c438253a3a55bc80fff08b3e42fd3e1 (diff) |
Run one repo-add for every package
-rwxr-xr-x | mips64el/mipsrelease | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mips64el/mipsrelease b/mips64el/mipsrelease index dae489c..b8ff01d 100755 --- a/mips64el/mipsrelease +++ b/mips64el/mipsrelease @@ -35,14 +35,17 @@ repo=$1; shift # Get all needed sources source PKGBUILD fullver=$(get_full_version ${epoch:-0} ${pkgver} ${pkgrel}) +pkgs=() makepkg --source -f msg "Adding packages to [stage3]..." for name in ${pkgname[@]}; do msg2 "${name} ${fullver}" - repo-add ${PKGDEST}/stage3.db.tar.gz ${PKGDEST}/${name}-${fullver}-*.pkg.tar.* + pkgs+=("${PKGDEST}/${name}-${fullver}-*.pkg.tar.*") done +repo-add ${PKGDEST}/stage3.db.tar.gz ${pkgs[@]} + mkdir -p ${WORKDIR}/abs/${CARCH}/${repo} >/dev/null |