summaryrefslogtreecommitdiff
path: root/src/mips64el-tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/mips64el-tools')
-rwxr-xr-xsrc/mips64el-tools/mipsrelease7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mips64el-tools/mipsrelease b/src/mips64el-tools/mipsrelease
index 30ebb46..bd7e217 100755
--- a/src/mips64el-tools/mipsrelease
+++ b/src/mips64el-tools/mipsrelease
@@ -36,14 +36,13 @@ main() {
# Get all needed sources
source PKGBUILD
- fullver=$(get_full_version)
pkgs=()
makepkg --source -f --skippgpcheck
msg "Adding packages to [stage3]..."
for name in "${pkgname[@]}"; do
- msg2 "${name} ${fullver}"
- pkgs+=(${PKGDEST}/${name}-${fullver}-*.pkg.tar.*)
+ msg2 "${name} $(get_full_version $name)"
+ pkgs+=(${PKGDEST}/${name}-$(get_full_version $name)-*.pkg.tar.*)
done
repo-add ${PKGDEST}/stage3.db.tar.gz "${pkgs[@]}"
@@ -53,7 +52,7 @@ main() {
mkdir -p ${WORKDIR}/abs/${CARCH}/${repo} >/dev/null
pushd ${WORKDIR}/abs/${CARCH}/${repo} >/dev/null
- tar xvf $SRCPKGDEST/${pkgbase:-${pkgname[0]}}-${fullver}${SRCEXT}
+ tar xvf $SRCPKGDEST/${pkgbase:-${pkgname[0]}}-$(get_full_version)${SRCEXT}
popd >/dev/null
exit $?