summaryrefslogtreecommitdiff
path: root/xraylarch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-06 11:06:20 +0100
committerErich Eckner <git@eckner.net>2019-02-06 11:06:20 +0100
commitf105ed7468f135c9b2f55152cb0cb0b94a014e6d (patch)
tree1e9289ad9e4721ca0c696d209501095cdfaa08ee /xraylarch
parent8991763716a5ec286544a9472974856ca5e2ee83 (diff)
downloadarchlinuxewe.git.save-f105ed7468f135c9b2f55152cb0cb0b94a014e6d.tar.xz
xraylarch: do not run installed program - it fails if chrooted
Diffstat (limited to 'xraylarch')
-rwxr-xr-xxraylarch/PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/xraylarch/PKGBUILD b/xraylarch/PKGBUILD
index dd3ba534..5cb002af 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"
}