summaryrefslogtreecommitdiff
path: root/test/lib/common.inc
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 12:08:55 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 14:46:22 -0400
commit9705ba8a148d03dfd4c2184f3a1f13ee373eb826 (patch)
tree3a6778fa074509cf105c09366ec1f403a517bfcd /test/lib/common.inc
parentbe03c311fedf4532ea6ac4d14b4becf5c7dc150e (diff)
Use the librelib version of get_full_versionlukeshu/archlinux+cleanup+librelib
Diffstat (limited to 'test/lib/common.inc')
-rw-r--r--test/lib/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/common.inc b/test/lib/common.inc
index 954868b..bef8749 100644
--- a/test/lib/common.inc
+++ b/test/lib/common.inc
@@ -35,7 +35,7 @@ oneTimeSetUp() {
pushd "$d" >/dev/null
pkgname=($(. PKGBUILD; echo "${pkgname[@]}"))
pkgarch=($(. PKGBUILD; echo "${arch[@]}"))
- pkgversion=$(. PKGBUILD; get_full_version "${epoch:-0}" "${pkgver}" "${pkgrel}")
+ pkgversion=$(. PKGBUILD; get_full_version)
build=true
for a in "${pkgarch[@]}"; do
@@ -140,7 +140,7 @@ releasePackage() {
pushd "${TMP}/svn-packages-copy/${pkgbase}/trunk/" >/dev/null
archrelease "${repo}-${arch}" >/dev/null 2>&1
- pkgver=$(. PKGBUILD; get_full_version "${epoch:-0}" "${pkgver}" "${pkgrel}")
+ pkgver=$(. PKGBUILD; get_full_version)
pkgname=($(. PKGBUILD; echo "${pkgname[@]}"))
popd >/dev/null
cp "${pkgdir}/${pkgbase}"/*-"${pkgver}-${arch}"${PKGEXT} "${STAGING}/${repo}/"