summaryrefslogtreecommitdiff
path: root/mips64el
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-17 11:57:48 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-17 11:57:48 -0300
commit7dfa60c89fe293ca4004bac15be0e1ffffc9dc7d (patch)
tree5161425e4bdb43947ad9b9195f1ca4653b1d6fa2 /mips64el
parent2c4723526c438253a3a55bc80fff08b3e42fd3e1 (diff)
Run one repo-add for every package
Diffstat (limited to 'mips64el')
-rwxr-xr-xmips64el/mipsrelease5
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