summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas2017-08-14 16:19:14 +0200
committerNiklas2017-08-14 16:19:14 +0200
commit3e1e06678d6145d4900abe0cedc8fa74eb548db1 (patch)
treec194d0894fc7d1a853bb022e23fe8fb55172699e
parent59ec018a78f4bc682626f7adfddccc747ebb2841 (diff)
downloadaur-3e1e06678d6145d4900abe0cedc8fa74eb548db1.tar.gz
avoid issues with spaces in build paths
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8ec250c77b9..6f625ac4240 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,19 +14,19 @@ source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_
sha256sums=("405da3bce9913bfb33e6e497803b447b60d12ab44031ca357626143e087e0526")
prepare() {
- cp -a $_name-$pkgver{,-python2}
+ cp -a ${_name}-${pkgver}{,-python2}
}
package_python-chainmap() {
depends=('python')
cd "${srcdir}/${_name}-${pkgver}"
- python setup.py install --root="$pkgdir/" --optimize=1
+ python setup.py install --root="${pkgdir}/" --optimize=1
}
package_python2-chainmap() {
depends=('python2')
cd "${srcdir}/${_name}-${pkgver}-python2"
- python2 setup.py install --root="$pkgdir/" --optimize=1
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
}