commit:     7199b06a2d7a1df05b3f83ef32c0897a78baff07
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  6 17:10:40 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Apr  6 17:11:38 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7199b06a

app-crypt/ccid: Fix sandbox violation

Package-Manager: portage-2.2.28
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 app-crypt/ccid/ccid-1.4.22.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-crypt/ccid/ccid-1.4.22.ebuild 
b/app-crypt/ccid/ccid-1.4.22.ebuild
index 500aaee..be66a09 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

Reply via email to