diff options
| author | Max Howell | 2009-08-12 13:43:51 +0100 |
|---|---|---|
| committer | Max Howell | 2009-08-12 13:43:51 +0100 |
| commit | bfbcdb2334fe21439e25349f05e4cee6d32a53a2 (patch) | |
| tree | 5fd9e8e88f73b81e0af1160d441fff59fdd6853b /bin/brew | |
| parent | 7e45879baae7708015fb8a52f311814fb8db66cb (diff) | |
| download | homebrew-bfbcdb2334fe21439e25349f05e4cee6d32a53a2.tar.bz2 | |
brew diy command
Automagically determines prefix to install to for DIY installations.
README amended.
Diffstat (limited to 'bin/brew')
| -rwxr-xr-x | bin/brew | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -66,6 +66,7 @@ begin else Process.wait pid end + #FIXME I don't think $? represents the exit code from the child fork⦠exit! $? if $? != 0 # exception in other brew will be visible on screen end @@ -114,6 +115,9 @@ begin exec "mate", *ARGV.named.collect {|name| make name} end + when 'diy' + puts diy + when 'info', 'abv' if ARGV.named_empty? puts `ls #{HOMEBREW_CELLAR} | wc -l`.strip+" kegs, "+HOMEBREW_CELLAR.abv |
