summaryrefslogtreecommitdiff
path: root/mipsrelease
diff options
context:
space:
mode:
Diffstat (limited to 'mipsrelease')
-rwxr-xr-xmipsrelease7
1 files changed, 5 insertions, 2 deletions
diff --git a/mipsrelease b/mipsrelease
index 22d0866..0f8a8de 100755
--- a/mipsrelease
+++ b/mipsrelease
@@ -32,13 +32,16 @@ get_full_version() {
repo=$1; shift
-repo-add ${PKGDEST}/stage3.db.tar.gz $@
-
# Get all needed sources
source PKGBUILD
fullver=$(get_full_version ${epoch:-0} ${pkgver} ${pkgrel})
makepkg --source -f
+for name in ${pkgname[@]}; do
+ repo-add ${PKGDEST}/stage3.db.tar.gz ${PKGDEST}/${name}-${fullver}-*.pkg.tar.*
+done
+
+
mkdir -p ${WORKDIR}/abs/${CARCH}/${repo} >/dev/null
pushd ${WORKDIR}/abs/${CARCH}/${repo} >/dev/null