diff options
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? |
