summaryrefslogtreecommitdiff
path: root/app-crypt/ccid
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-04-06 19:10:40 +0200
committerJustin Lecher <jlec@gentoo.org>2016-04-06 19:11:38 +0200
commit7199b06a2d7a1df05b3f83ef32c0897a78baff07 (patch)
tree257eadd53d0e1cc13b318a070266585ae1adcc95 /app-crypt/ccid
parent2c212f8054356b5b45b1255f1111156c9def2290 (diff)
downloadgentoo-7199b06a2d7a1df05b3f83ef32c0897a78baff07.tar.gz
gentoo-7199b06a2d7a1df05b3f83ef32c0897a78baff07.tar.xz
app-crypt/ccid: Fix sandbox violation
Package-Manager: portage-2.2.28 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'app-crypt/ccid')
-rw-r--r--app-crypt/ccid/ccid-1.4.22.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-crypt/ccid/ccid-1.4.22.ebuild b/app-crypt/ccid/ccid-1.4.22.ebuild
index 500aaee0e65..be66a092121 100644
--- a/app-crypt/ccid/ccid-1.4.22.ebuild
+++ b/app-crypt/ccid/ccid-1.4.22.ebuild
@@ -58,7 +58,9 @@ src_install() {
# disable Kobil_mIDentity_switch udev rule with USE=-kobil-midentity
if ! use kobil-midentity; then
- sed -i -e '/Kobil_mIDentity_switch/s/^/#/' "$(_udev_get_udevdir)"/rules.d/92-pcsc-ccid.rules
+ sed \
+ -e '/Kobil_mIDentity_switch/s/^/#/' \
+ -i "${D}/$(get_udevdir)"/rules.d/92-pcsc-ccid.rules || die
fi
fi