commit:     9aa413c047bc6cb366746634c8a397d10207ba24
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 15 18:58:02 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 20:38:10 2020 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=9aa413c0

gkbuilds/util-linux: Use $D

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gkbuilds/util-linux.gkbuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gkbuilds/util-linux.gkbuild b/gkbuilds/util-linux.gkbuild
index da09225..0c4377e 100644
--- a/gkbuilds/util-linux.gkbuild
+++ b/gkbuilds/util-linux.gkbuild
@@ -23,7 +23,7 @@ src_configure() {
 
 src_install() {
        local MYMAKEOPTS=( "V=1" )
-       MYMAKEOPTS+=( "DESTDIR=${DESTDIR}" )
+       MYMAKEOPTS+=( "DESTDIR=${D}" )
        MYMAKEOPTS+=( "install-pkgconfigDATA" )
        MYMAKEOPTS+=( "install-nodist_blkidincHEADERS" )
        MYMAKEOPTS+=( "install-nodist_mountincHEADERS" )
@@ -33,9 +33,9 @@ src_install() {
 
        mkdir "${D}"/sbin || die "Failed to create '${D}/sbin'!"
 
-       cp -a blkid.static "${DESTDIR}"/sbin/blkid \
-               || die "Failed to copy '${S}/blkid.static' to 
'${DESTDIR}/sbin/blkid'!"
+       cp -a blkid.static "${D}"/sbin/blkid \
+               || die "Failed to copy '${S}/blkid.static' to 
'${D}/sbin/blkid'!"
 
-       "${STRIP}" --strip-all "${DESTDIR}"/sbin/blkid \
-               || die "Failed to strip '${DESTDIR}/sbin/blkid'!"
+       "${STRIP}" --strip-all "${D}"/sbin/blkid \
+               || die "Failed to strip '${D}/sbin/blkid'!"
 }

Reply via email to