diff options
| author | Jack Nagel | 2014-05-02 12:59:38 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-02 12:59:38 -0500 |
| commit | a02ae0d40cadcaf5862d7fe447c56522e414aebc (patch) | |
| tree | 1287be9ccb49e99347393a291fdaa90a582fc440 /Library | |
| parent | a8884370931a4e257a0afce9a79575cf3bb79508 (diff) | |
| download | homebrew-a02ae0d40cadcaf5862d7fe447c56522e414aebc.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 |
