summaryrefslogtreecommitdiff
path: root/mipsrelease
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-25 11:46:03 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-25 11:46:03 -0500
commitd94747c063e65cb5bbe99246157d76079cc4c252 (patch)
tree77769922f469f1c7ca80e138041a25b31b35dd0f /mipsrelease
parentbfc22659aff2cc2a2832b34b7f044146e5b86184 (diff)
*fullpkg don't add mipsel on build_only
*mipsrelease adds pkgs from pkgdest
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