dev-util/pkgdiff: fixed install phase
authorMiroslav Šulc <fordfrog@gentoo.org>
Sat, 16 May 2020 10:18:14 +0000 (12:18 +0200)
committerMiroslav Šulc <fordfrog@gentoo.org>
Sat, 16 May 2020 10:18:31 +0000 (12:18 +0200)
fix by ZongyuZ <zzy2529420793@gmail.com>

Closes: https://bugs.gentoo.org/723124
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
dev-util/pkgdiff/pkgdiff-1.7.2.ebuild
dev-util/pkgdiff/pkgdiff-9999.ebuild

index 29d9b6bfe683d40aad42de77d8389e233c46d4d3..ee28ad626a5d5fd71a09f27f9a2018f63266f9c3 100644 (file)
@@ -26,6 +26,6 @@ src_compile() {
 PREFIX="/usr"
 
 src_install() {
-       mkdir -p "${D}${PREFIX}"
+       dodir ${PREFIX}
        perl Makefile.pl -install --destdir "${ED}" || die "install failed"
 }
index 02c61210affda6aeb46474d1d707146e7cbd50ac..c33dc82d81102c849779458b716a88b21447e4fd 100644 (file)
@@ -28,6 +28,6 @@ src_compile() {
 PREFIX="/usr"
 
 src_install() {
-       mkdir -p "${D}${PREFIX}"
+       dodir ${PREFIX}
        perl Makefile.pl -install --destdir "${ED}" || die "install failed"
 }