aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/unlinkapps.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/unlinkapps.rb')
-rw-r--r--Library/Homebrew/cmd/unlinkapps.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/unlinkapps.rb b/Library/Homebrew/cmd/unlinkapps.rb
index 2f6a57e6e..864e33b27 100644
--- a/Library/Homebrew/cmd/unlinkapps.rb
+++ b/Library/Homebrew/cmd/unlinkapps.rb
@@ -1,8 +1,7 @@
# Unlinks any Applications (.app) found in installed prefixes from /Applications
require 'keg'
-module Homebrew extend self
-
+module Homebrew
def unlinkapps
target_dir = ARGV.include?("--local") ? File.expand_path("~/Applications") : "/Applications"