diff options
| author | Decklin Foster | 2011-11-28 12:40:42 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2011-12-03 08:29:23 -0800 |
| commit | e7b13d814f5866ba5c60933d7fc82fe915449752 (patch) | |
| tree | 3509ac67813b4186191d59881c5e230368faf65f /Library/Formula | |
| parent | 19c44578b604a7da8a99986bef1835f80f1f07be (diff) | |
| download | homebrew-e7b13d814f5866ba5c60933d7fc82fe915449752.tar.bz2 | |
mksh 0.40c
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mksh.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/mksh.rb b/Library/Formula/mksh.rb new file mode 100644 index 000000000..24abb92b4 --- /dev/null +++ b/Library/Formula/mksh.rb @@ -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 |
