diff options
| author | Max Howell | 2009-10-15 12:36:09 +0100 |
|---|---|---|
| committer | Max Howell | 2009-10-15 16:51:53 +0100 |
| commit | 543a113712635b64bcfe0804acea0d8079b8bd44 (patch) | |
| tree | 404789c8e1a0d62d5e72d0e3c763018c73d51762 /Library/Homebrew/global.rb | |
| parent | 6ad2907000d927e055cacf389228ebdc01fcc0d7 (diff) | |
| download | brew-543a113712635b64bcfe0804acea0d8079b8bd44.tar.bz2 | |
Some subdirs and renames to aid homebrew n00bs
The classes better reflect their contents. I'm sure this change may be
contentious, but I am a sucker for trying to create source bases that are easy
to get to grips with and easy to navigate.
brewkit.rb is now a deprecated file.
Diffstat (limited to 'Library/Homebrew/global.rb')
| -rw-r--r-- | Library/Homebrew/global.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index c4f1bb698..757fb8d74 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -21,11 +21,14 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -require 'pathname+yeast' -require 'ARGV+yeast' +require 'extend/pathname' +require 'extend/ARGV' require 'utils' require 'hardware' +ARGV.extend(HomebrewArgvExtension) + + if Process.uid == 0 # technically this is not the correct place, this cache is for *all users* # so in that case, maybe we should always use it, root or not? |
