Skip to content

Commit

Permalink
ksh: use install_symlink
Browse files Browse the repository at this point in the history
As a bonus, fix the broken ksh.1 symlink.
  • Loading branch information
jacknagel committed Mar 25, 2014
1 parent 89ec111 commit 09ae033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/ksh.rb
Expand Up @@ -46,10 +46,10 @@ def install
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
Expand Down

0 comments on commit 09ae033

Please sign in to comment.