diff options
| author | Max Howell | 2009-08-08 13:52:17 +0100 |
|---|---|---|
| committer | Max Howell | 2009-08-10 18:11:23 +0100 |
| commit | 0ea078e1ae8663b6b3dda18ca4016059acbaf61b (patch) | |
| tree | fcdca3d0cf31826cd5a7ea6bc40ce9ab3d27c97c /Library | |
| parent | dae260561e659e940c559196810d7af5d4b5f152 (diff) | |
| download | brew-0ea078e1ae8663b6b3dda18ca4016059acbaf61b.tar.bz2 | |
Install README.txt etc. as README
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/brew.h.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb index 8f5408e1b..842439a8c 100644 --- a/Library/Homebrew/brew.h.rb +++ b/Library/Homebrew/brew.h.rb @@ -147,7 +147,8 @@ def install f f.prefix.mkpath f.install %w[README ChangeLog COPYING LICENSE COPYRIGHT AUTHORS].each do |file| - f.prefix.install file if File.file? file + FileUtils.mv "#{file}.txt", file rescue nil + f.prefix.install file rescue nil end end end |
