ksh: use install_symlink
As a bonus, fix the broken ksh.1 symlink.
This commit is contained in:
parent
89ec11110e
commit
09ae033aa5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue