diff options
author | actionless | 2019-12-06 22:13:59 +0100 |
---|---|---|
committer | actionless | 2019-12-06 22:13:59 +0100 |
commit | 2e083f5e4afbb30ef6474b4775b20997a5cb9534 (patch) | |
tree | 2a4ed82cca83a5e98c19392ad33069e905c59fb9 | |
parent | d8547cd6869c3f06ac3d33be5f0a740f7b6c868b (diff) | |
download | aur-2e083f5e4afbb30ef6474b4775b20997a5cb9534.tar.gz |
resolve absolute PYTHONPATH in check()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = python-pystache pkgdesc = The mustache template engine written in python pkgver = 0.5.4 - pkgrel = 6 + pkgrel = 7 url = http://github.com/defunkt/pystache arch = any license = MIT @@ -2,7 +2,7 @@ pkgname=python-pystache _pkgname=pystache pkgver=0.5.4 -pkgrel=6 +pkgrel=7 pkgdesc="The mustache template engine written in python" arch=("any") url="http://github.com/defunkt/pystache" @@ -25,7 +25,7 @@ check() { rm -rf "$test_dir" mkdir "$test_dir" python setup.py install --root="$test_dir" - PYTHONPATH="$test_dir"/usr/lib/python*/site-packages/ \ + PYTHONPATH=$(readlink -e "$test_dir"/usr/lib/python*/site-packages/) \ "$test_dir"/usr/bin/pystache-test . } |