summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxraylarch/PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/xraylarch/PKGBUILD b/xraylarch/PKGBUILD
index dd3ba534a..5cb002af0 100755
--- a/xraylarch/PKGBUILD
+++ b/xraylarch/PKGBUILD
@@ -64,6 +64,7 @@ prepare() {
/^\s*pyexe\s*=/ s/python/python2/
s/^\s*setup(/_setup = \0/
s/^\(\s*dest\s*=\s*\)\(\S.*\)$/\1_setup.get_command_obj('"'"'install'"'"').root + os.path.abspath(\2)/
+ /subprocess\.check_call/ { N; d; }
' "${pkgname}-${pkgver}/setup.py"
}