summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-07-31 18:44:17 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-07-31 18:44:17 +0000
commitc6d7b5d60926024cd35694b1b85983c400702961 (patch)
tree460b3dec6d784f27b73c6d0f67f37077d1796bc5 /sys-fs/lvm2
parentStable on alpha, bug #517936 (diff)
downloadgentoo-2-c6d7b5d60926024cd35694b1b85983c400702961.tar.gz
gentoo-2-c6d7b5d60926024cd35694b1b85983c400702961.tar.bz2
gentoo-2-c6d7b5d60926024cd35694b1b85983c400702961.zip
Use type -P to get path of true instead of hardcoding it.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r--sys-fs/lvm2/ChangeLog5
-rw-r--r--sys-fs/lvm2/lvm2-2.02.108.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog
index fdea04dbcda6..a3c801f0af12 100644
--- a/sys-fs/lvm2/ChangeLog
+++ b/sys-fs/lvm2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/lvm2
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.359 2014/07/30 19:38:03 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.360 2014/07/31 18:44:17 ssuominen Exp $
+
+ 31 Jul 2014; Samuli Suominen <ssuominen@gentoo.org> lvm2-2.02.108.ebuild:
+ Use type -P to get path of true instead of hardcoding it.
30 Jul 2014; Samuli Suominen <ssuominen@gentoo.org> lvm2-2.02.108.ebuild:
Punt "&& use lvmetad" typing error (IUSE error)
diff --git a/sys-fs/lvm2/lvm2-2.02.108.ebuild b/sys-fs/lvm2/lvm2-2.02.108.ebuild
index 5016d9da539f..10a35734be17 100644
--- a/sys-fs/lvm2/lvm2-2.02.108.ebuild
+++ b/sys-fs/lvm2/lvm2-2.02.108.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.108.ebuild,v 1.3 2014/07/30 19:38:03 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.108.ebuild,v 1.4 2014/07/31 18:44:17 ssuominen Exp $
EAPI=5
inherit autotools eutils linux-info multilib systemd toolchain-funcs udev flag-o-matic
@@ -82,7 +82,7 @@ src_prepare() {
sed -i -e '/use_lvmetad =/s:0:1:' conf/example.conf.in || die #514196
fi
- sed -i -e 's:/usr/bin/true:/bin/true:' scripts/blk_availability_systemd_red_hat.service.in || die #517514
+ sed -i -e "s:/usr/bin/true:$(type -P true):" scripts/blk_availability_systemd_red_hat.service.in || die #517514
# For upstream -- review and forward:
epatch "${FILESDIR}"/${PN}-2.02.63-always-make-static-libdm.patch