[arch-commits] Commit in pyalpm/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Jan 10 11:29:18 UTC 2021
Date: Sunday, January 10, 2021 @ 11:29:18
Author: jelle
Revision: 406023
Fix unquoted variables
Modified:
pyalpm/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-10 11:20:37 UTC (rev 406022)
+++ PKGBUILD 2021-01-10 11:29:18 UTC (rev 406023)
@@ -16,23 +16,23 @@
'b7dacb28bc13f5c9fb9c9295d1a3d323b7b7c0893d69b110f3036b73a4930e8463b5a19011b0e5996ff55157768376c2e53ab97c557afe29bbe3b5d0c8a1e027')
prepare() {
- cd ${srcdir}/${pkgname}
+ cd "${pkgname}"
# Revert memleak patch which causes 'random' segfauts since
# the handle is still used while it's already cleaned up.
- patch -NRp1 -i ${srcdir}/memleak.patch
+ patch -NRp1 -i "${srcdir}/memleak.patch"
}
build() {
- cd ${srcdir}/${pkgname}
+ cd "${pkgname}"
python setup.py build
}
check() {
- cd ${srcdir}/${pkgname}
+ cd "${pkgname}"
PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.9" pytest
}
package() {
- cd ${srcdir}/${pkgname}
+ cd "${pkgname}"
python setup.py install --root=${pkgdir}
}
More information about the arch-commits
mailing list