diff options
| author | Jack Nagel | 2014-06-18 22:41:47 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-19 13:10:36 -0500 |
| commit | 1cb4dfcd772a8bf26a6fc2fc45ee73e9333cb253 (patch) | |
| tree | 78291e90df9cac5d94d8e2baa62ac960f0d7f456 /Library/Homebrew/cmd/linkapps.rb | |
| parent | 5b74fbb9c7d397162a68b32eb4354b59f5b21dbc (diff) | |
| download | homebrew-1cb4dfcd772a8bf26a6fc2fc45ee73e9333cb253.tar.bz2 | |
Only "extend self" once on the Homebrew module
Diffstat (limited to 'Library/Homebrew/cmd/linkapps.rb')
| -rw-r--r-- | Library/Homebrew/cmd/linkapps.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/linkapps.rb b/Library/Homebrew/cmd/linkapps.rb index 5cf254625..50df5daa2 100644 --- a/Library/Homebrew/cmd/linkapps.rb +++ b/Library/Homebrew/cmd/linkapps.rb @@ -1,8 +1,7 @@ # Links any Applications (.app) found in installed prefixes to /Applications require 'keg' -module Homebrew extend self - +module Homebrew def linkapps target_dir = ARGV.include?("--local") ? File.expand_path("~/Applications") : "/Applications" |
