aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/link.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-04-22 17:47:39 +0100
committerGitHub2017-04-22 17:47:39 +0100
commita937ed0a20eed46ceaa55ea1ad5234a63a19232d (patch)
tree1abf93d4295c7cca42a5d0cdb64ce8ab764b9ed1 /Library/Homebrew/cmd/link.rb
parent114e8c55378a28d8ab285132ee28fb6464606962 (diff)
parentba3c46d24fe6423845cc5e827eb94b3427d75a10 (diff)
downloadbrew-a937ed0a20eed46ceaa55ea1ad5234a63a19232d.tar.bz2
Merge pull request #2522 from MikeMcQuaid/more-deprecations
More deprecations.
Diffstat (limited to 'Library/Homebrew/cmd/link.rb')
-rw-r--r--Library/Homebrew/cmd/link.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/link.rb b/Library/Homebrew/cmd/link.rb
index 5ce6bea48..b8bd135e0 100644
--- a/Library/Homebrew/cmd/link.rb
+++ b/Library/Homebrew/cmd/link.rb
@@ -86,8 +86,8 @@ module Homebrew
opt = HOMEBREW_PREFIX/"opt/#{keg.name}"
puts "\nIf you need to have this software first in your PATH instead consider running:"
- puts " #{Utils::Shell.prepend_path_in_shell_profile(opt/"bin")}" if bin.directory?
- puts " #{Utils::Shell.prepend_path_in_shell_profile(opt/"sbin")}" if sbin.directory?
+ puts " #{Utils::Shell.prepend_path_in_profile(opt/"bin")}" if bin.directory?
+ puts " #{Utils::Shell.prepend_path_in_profile(opt/"sbin")}" if sbin.directory?
end
def keg_only?(rack)