diff options
| author | Jack Nagel | 2014-06-18 22:41:47 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-06-19 13:10:36 -0500 | 
| commit | 10a1952d2cdcda5e5372fc86ffda33dcca24b894 (patch) | |
| tree | 6b4b620b1dc9295b6ef70058ecccab4fd254d32d /Library/Homebrew/cmd/linkapps.rb | |
| parent | 1cd31db1a84a3d08b02abad44989eb1a3960e0ff (diff) | |
| download | brew-10a1952d2cdcda5e5372fc86ffda33dcca24b894.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" | 
