Skip to content

Commit

Permalink
mksh 0.40c
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Vandenberg <[email protected]>
  • Loading branch information
decklin authored and adamv committed Dec 3, 2011
1 parent 19c4457 commit e7b13d8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Library/Formula/mksh.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
require 'formula'

class Mksh < Formula
url 'https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R40c.cpio.gz'
homepage 'https://www.mirbsd.org/mksh.htm'
md5 '43a79f721091833bdab3d00fbfe54a14'
version '0.40c'

def install
system 'sh ./Build.sh -combine'
bin.install 'mksh'
man1.install 'mksh.1'
end

def caveats; <<-EOS.undent
To allow using mksh as a login shell, run this as root:
echo #{HOMEBREW_PREFIX}/bin/mksh >> /etc/shells
Then, any user may run
chsh
to change their shell.
EOS
end
end

0 comments on commit e7b13d8

Please sign in to comment.