passenger: use install_symlink

master
Jack Nagel 2014-03-25 10:54:37 -05:00
parent 13952a13f9
commit 800bae8add
1 changed files with 1 additions and 5 deletions

View File

@ -28,11 +28,7 @@ class Passenger < Formula
cp_r necessary_files, libexec, :preserve => true
# Allow Homebrew to create symlinks for the Phusion Passenger commands.
bin.mkpath
Dir[libexec/"bin/*"].each do |orig_script|
name = File.basename(orig_script)
ln_s orig_script, bin/name
end
bin.install_symlink Dir["#{libexec}/bin/*"]
# Ensure that the Phusion Passenger commands can always find their library
# files.