diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-11-08 13:40:10 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-11-08 13:41:49 -0500 |
commit | 0cdd5d6e42a1ebe3f9ae1b6f76ba35cc497240c2 (patch) | |
tree | 81a47bc96159c80ee8c2d896fbad45a59f259025 /dev-vcs/git/git-9999-r1.ebuild | |
parent | dev-vcs/git: drop 2.26.3, 2.28.1, 2.29.3, 2.30.2 (diff) | |
download | gentoo-0cdd5d6e42a1ebe3f9ae1b6f76ba35cc497240c2.tar.gz gentoo-0cdd5d6e42a1ebe3f9ae1b6f76ba35cc497240c2.tar.bz2 gentoo-0cdd5d6e42a1ebe3f9ae1b6f76ba35cc497240c2.zip |
dev-vcs/git: avoid using ${D} before src_install
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-vcs/git/git-9999-r1.ebuild')
-rw-r--r-- | dev-vcs/git/git-9999-r1.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild index 6af4b971bc56..6fd30df80506 100644 --- a/dev-vcs/git/git-9999-r1.ebuild +++ b/dev-vcs/git/git-9999-r1.ebuild @@ -291,7 +291,6 @@ git_emake() { htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ perllibdir="$(use perl && perl_get_raw_vendorlib)" \ sysconfdir="${EPREFIX}"/etc \ - DESTDIR="${D}" \ GIT_TEST_OPTS="--no-color" \ OPTAR="$(tc-getAR)" \ OPTCC="$(tc-getCC)" \ @@ -364,7 +363,7 @@ src_compile() { } src_install() { - git_emake install || die "make install failed" + git_emake DESTDIR="${D}" install || die "make install failed" if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then dobin contrib/credential/osxkeychain/git-credential-osxkeychain @@ -414,10 +413,10 @@ src_install() { # git-subtree pushd contrib/subtree &>/dev/null || die - git_emake install || die "Failed to emake install for git-subtree" + git_emake DESTDIR="${D}" install || die "Failed to emake install for git-subtree" if use doc ; then # Do not move git subtree install-man outside USE=doc! - git_emake install-man install-html || die "Failed to emake install-html install-man for git-subtree" + git_emake DESTDIR="${D}" install-man install-html || die "Failed to emake install-html install-man for git-subtree" fi newdoc README README.git-subtree dodoc git-subtree.txt @@ -425,7 +424,7 @@ src_install() { if use mediawiki ; then pushd contrib/mw-to-git &>/dev/null || die - git_emake install + git_emake DESTDIR="${D}" install popd &>/dev/null || die fi |