aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/getmail.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2013-08-15 09:33:49 -0700
committerAdam Vandenberg2013-08-15 09:35:27 -0700
commitc684cba3b05c98097641998277ec4bf7df29f91e (patch)
treea4f7bd9d5cd3e54d1d27b508918e93cd033059f5 /Library/Formula/getmail.rb
parent7d7ad1abbe95839d948cbc927776f6aea794aeb4 (diff)
downloadhomebrew-c684cba3b05c98097641998277ec4bf7df29f91e.tar.bz2
getmail: fix installation
getmail was using the return value of install, which was removed Closes #21918
Diffstat (limited to 'Library/Formula/getmail.rb')
-rw-r--r--Library/Formula/getmail.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/getmail.rb b/Library/Formula/getmail.rb
index 3d0d81109..223a3efb1 100644
--- a/Library/Formula/getmail.rb
+++ b/Library/Formula/getmail.rb
@@ -7,10 +7,9 @@ class Getmail < Formula
sha1 'c4ebc38d17f9a2ed2516e5070e300b0e160b0aaa'
def install
- scripts = %w[ getmail getmail_fetch getmail_maildir getmail_mbox ]
- libexec.install 'getmailcore'
- libexec_scripts = libexec.install scripts
- bin.install_symlink libexec_scripts
+ scripts = %w( getmail getmail_fetch getmail_maildir getmail_mbox )
+ libexec.install scripts, 'getmailcore'
+ bin.install_symlink Dir["#{libexec}/*"] - ["#{libexec}/getmailcore"]
man1.install Dir['docs/*.1']
end
end