diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-03-26 13:35:59 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-03-26 13:35:59 +0100 |
commit | 575ba47d34870f8d7e83bc05f274f40a2d52d8fe (patch) | |
tree | 88316fc256f1c380f401872a47feb9323f906f0b /test/lib | |
parent | d568b8aeb0be95d6a1da7da0434de23e6b2260e2 (diff) | |
download | dbscripts-575ba47d34870f8d7e83bc05f274f40a2d52d8fe.tar.gz dbscripts-575ba47d34870f8d7e83bc05f274f40a2d52d8fe.tar.xz |
Adjust test for latest devtools; Be less generic with package extension
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/common.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/common.inc b/test/lib/common.inc index 46747ff..8a53768 100644 --- a/test/lib/common.inc +++ b/test/lib/common.inc @@ -29,10 +29,10 @@ oneTimeSetUp() { if ! ${build}; then if [ "${pkgarch[0]}" == 'any' ]; then - extra-x86_64-build || die 'extra-x86_64-build failed' + sudo extra-x86_64-build || die 'extra-x86_64-build failed' else for a in ${pkgarch[@]}; do - extra-${a}-build || die "extra-${a}-build failed" + sudo extra-${a}-build || die "extra-${a}-build failed" done fi for a in ${pkgarch[@]}; do @@ -114,7 +114,7 @@ releasePackage() { archrelease ${repo}-${arch} >/dev/null 2&>1 pkgver=$(. PKGBUILD; echo $(get_full_version ${epoch:-0} ${pkgver} ${pkgrel})) popd >/dev/null - cp "${pkgdir}/${pkgbase}"/*-${pkgver}-${arch}.pkg.tar.* "${STAGING}"/${repo}/ + cp "${pkgdir}/${pkgbase}"/*-${pkgver}-${arch}${PKGEXT} "${STAGING}"/${repo}/ } checkAnyPackage() { |