diff options
| author | Max Howell | 2009-07-10 00:57:27 +0100 |
|---|---|---|
| committer | Max Howell | 2009-07-10 00:57:27 +0100 |
| commit | 61b71486bedacb68cc165d6ab6f33f241e8a9cce (patch) | |
| tree | 2e1417d6c2ba7e319e920475e83b9ea83ed61f34 | |
| parent | 636871e2d425e13bf1292c9cd409a45fd435c56f (diff) | |
| download | homebrew-61b71486bedacb68cc165d6ab6f33f241e8a9cce.tar.bz2 | |
Work even if the working directory doesn't exist
| -rwxr-xr-x | bin/brew | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ $:.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 +Dir.chdir '/' unless File.directory? ENV['PWD'] def prune n=0 |
