diff options
| author | Max Howell | 2009-06-18 09:49:13 +0100 |
|---|---|---|
| committer | Max Howell | 2009-06-18 10:31:15 +0100 |
| commit | ba7e4e58ff95a019194fbc494eca58dd23393b84 (patch) | |
| tree | d46f3ef81e6b62902c56a13d9fede5060e501e63 /bin | |
| parent | 76259fcfbb32becc42236dd0298165a8a13f0b5f (diff) | |
| download | homebrew-ba7e4e58ff95a019194fbc494eca58dd23393b84.tar.bz2 | |
mv share/doc/name-version to share/doc/name
Versioned docs don't make sense with our installation pattern
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -219,12 +219,15 @@ begin o.brew do if ARGV.include? '--interactive' ohai "Entering interactive mode, type `exit' to return to this shell" - exec "bash" + exec "bash" #TODO why exec? else o.install ['README','ChangeLog','COPYING','COPYRIGHT','AUTHORS'].each do |file| FileUtils.cp file, o.prefix if File.file? file end + #this is common, and we don't want it + versioned_docs=o.doc.parent+"#{o.name}-#{o.version}" + versioned_docs.rename o.doc if versioned_docs.exist? end end ohai 'Finishing up' |
