Skip to content

Commit

Permalink
git: Fix bug building without perl for Linuxbrew
Browse files Browse the repository at this point in the history
  • Loading branch information
sjackman committed May 7, 2015
1 parent 74954cc commit 14973e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Formula/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,11 @@ def install
# If you need it, install git --with-brewed-openssl.
rm "#{libexec}/git-core/git-imap-send" if build.without? "brewed-openssl"

pod = Pathname.new Dir[lib/"*/*/perllocal.pod"][0]
pod = Dir[lib/"*/*/perllocal.pod"][0]
if pod != nil
# Remove perllocal.pod, which conflicts with the perl formula.
# I don't know why this issue doesn't affect Mac.
pod = Pathname.new pod
rm pod
rmdir [pod.dirname, pod.dirname.dirname]
end
Expand Down

0 comments on commit 14973e8

Please sign in to comment.