summaryrefslogtreecommitdiff
path: root/mips64el/mipsrelease
diff options
context:
space:
mode:
Diffstat (limited to 'mips64el/mipsrelease')
-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