From bfbcdb2334fe21439e25349f05e4cee6d32a53a2 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 12 Aug 2009 13:43:51 +0100 Subject: brew diy command Automagically determines prefix to install to for DIY installations. README amended.--- bin/brew | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/brew b/bin/brew index 06c5a2cba..575694fdb 100755 --- a/bin/brew +++ b/bin/brew @@ -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 -- cgit v1.2.3