diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-02 15:12:59 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 20:01:06 -0600 |
commit | 12da94c924cb29dd83c4bbf6fd50d1d1fc660312 (patch) | |
tree | 11d72d386908df40bce89265403f9ad249da0230 /src/mips64el-tools/mipsrelease | |
parent | 24073402dd3d4324f117f12abc3c921cc3dc3750 (diff) |
use common.sh:get_full_version() universally
Diffstat (limited to 'src/mips64el-tools/mipsrelease')
-rwxr-xr-x | src/mips64el-tools/mipsrelease | 7 |
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 $? |