summaryrefslogtreecommitdiff
path: root/mips64el
diff options
context:
space:
mode:
authorJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-05-08 01:58:02 -0500
committerJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-05-08 01:58:02 -0500
commit3dcf773de928a0a587f0409d2bd1d7ecad80b549 (patch)
treebf66d492479bb9f454b9700b58fc53c114ae4e7d /mips64el
parente13b2d4ae996c164b8082bfa18a7351ddb4467d7 (diff)
parent112b6427bf299b9db8fc34e5b771fecf1958db07 (diff)
Merge branch 'master' of gitpar:libretools
Conflicts: toru-utils
Diffstat (limited to 'mips64el')
-rwxr-xr-xmips64el/mipsrelease8
1 files changed, 8 insertions, 0 deletions
diff --git a/mips64el/mipsrelease b/mips64el/mipsrelease
index 1a4aade..f245c47 100755
--- a/mips64el/mipsrelease
+++ b/mips64el/mipsrelease
@@ -34,6 +34,11 @@ get_full_version() {
repo=$1; shift
+if [ -z "${repo}" ]; then
+ error "Empty repo"
+ exit 1
+fi
+
# Get all needed sources
source PKGBUILD
fullver=$(get_full_version ${epoch:-0} ${pkgver} ${pkgrel})
@@ -48,6 +53,9 @@ done
repo-add ${PKGDEST}/stage3.db.tar.gz ${pkgs[@]}
+#sudo pacman -Sy
+librestage ${repo}
+
mkdir -p ${WORKDIR}/abs/${CARCH}/${repo} >/dev/null