diff options
-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 |