diff options
| author | Jack Nagel | 2014-05-02 12:59:38 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-02 12:59:38 -0500 |
| commit | 1ff182ae68eeeba5462532b997af30030e09afe0 (patch) | |
| tree | e943a1906c510884be69b1742171fe3a8472e169 /Library | |
| parent | 2d156f06c88b8c8971f7ad9953db3405a15ef13f (diff) | |
| download | brew-1ff182ae68eeeba5462532b997af30030e09afe0.tar.bz2 | |
Set ENV variables to strings, not pathnames
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/brew.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/brew.rb b/Library/brew.rb index 4874aeb96..d482fd1a3 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -106,7 +106,7 @@ begin Homebrew.send cmd.to_s.gsub('-', '_').downcase elsif which "brew-#{cmd}" %w[CACHE CELLAR LIBRARY_PATH PREFIX REPOSITORY].each do |e| - ENV["HOMEBREW_#{e}"] = Object.const_get "HOMEBREW_#{e}" + ENV["HOMEBREW_#{e}"] = Object.const_get("HOMEBREW_#{e}").to_s end exec "brew-#{cmd}", *ARGV elsif require? which("brew-#{cmd}.rb").to_s |
