ksh: use install_symlink

As a bonus, fix the broken ksh.1 symlink.
This commit is contained in:
Jack Nagel 2014-03-25 00:47:14 -05:00
parent 89ec11110e
commit 09ae033aa5

View file

@ -46,10 +46,10 @@ class Ksh < Formula
system "/bin/ksh", "bin/package", "make", "CCFLAGS=#{kshcppdefines}"
bin.install "arch/darwin.i386-64/bin/ksh" => "ksh93"
ln_s "#{bin}/ksh93", "#{bin}/ksh"
bin.install_symlink "ksh93" => "ksh"
man1.install "arch/darwin.i386-64/man/man1/sh.1" => "ksh93.1"
ln_s "#{man}/ksh93.1", "#{man}/ksh.1"
man1.install_symlink "ksh93.1" => "ksh.1"
end
def caveats; <<-EOS.undent