diff options
| author | Max Howell | 2009-06-26 13:01:23 +0100 |
|---|---|---|
| committer | Max Howell | 2009-06-26 13:01:23 +0100 |
| commit | 7a24fc4a7abadd2ffd9ddc62741fa8a5fc090e10 (patch) | |
| tree | 466444cd138e774026e4ce1db488400bf77b739f /bin/brew | |
| parent | b90a8a4f7368b18fdfeb71460c51b5ae43f50b09 (diff) | |
| download | homebrew-7a24fc4a7abadd2ffd9ddc62741fa8a5fc090e10.tar.bz2 | |
No more "cwd doesn't exist" messages
Diffstat (limited to 'bin/brew')
| -rwxr-xr-x | bin/brew | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,9 @@ require 'pathname' $:.unshift Pathname.new(__FILE__).dirname.parent.realpath+'Library'+'Homebrew' require 'env' +# often causes Ruby to throw exception ffs +Dir.chdir '/' unless File.exist? Dir.getwd + def prune n=0 dirs=Array.new |
