Skip to content

Commit

Permalink
git: Fix build with +credential_osxkeychain
Browse files Browse the repository at this point in the history
Follow-up to 663d6d9, fixes build with the +credential_osxkeychain
variant, which would previously have failed because
$prefix/libexec/git-core did not exist.
  • Loading branch information
neverpanic committed Feb 7, 2017
1 parent 949b304 commit 94d29bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devel/git/Portfile
Expand Up @@ -121,6 +121,7 @@ post-destroot {
xinstall -m 644 ${worksrcpath}/contrib/completion/git-prompt.sh \
${share_path}/git-prompt.sh

xinstall -d ${destroot}${prefix}/libexec/git-core
xinstall -m 755 ${worksrcpath}/contrib/subtree/git-subtree.sh \
${destroot}${prefix}/libexec/git-core/git-subtree

Expand Down Expand Up @@ -208,7 +209,7 @@ variant credential_osxkeychain description {Install git credential-osxkeychain u
system -W "${worksrcpath}/contrib/credential/osxkeychain" "make [join ${build.args}]"
}

pre-destroot {
post-destroot {
xinstall -m 755 "${worksrcpath}/contrib/credential/osxkeychain/git-credential-osxkeychain" \
"${destroot}${prefix}/libexec/git-core/"
}
Expand Down

0 comments on commit 94d29bc

Please sign in to comment.