Skip to content

Commit

Permalink
Remove nonexistent files from the rdoc glob
Browse files Browse the repository at this point in the history
CHANGELOG, TODO, Install, README and README-library don't exist anymore (if
they ever did), so this commit removes them from the rdoc glob while globbing
all of the current READMEs that are in puppet.
  • Loading branch information
haus committed Nov 29, 2012
1 parent 806a404 commit 09e353e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def install_binfile(from, op_file, target)
# Set these values to what you want installed.
configs = glob(%w{conf/auth.conf})
bins = glob(%w{bin/*})
rdoc = glob(%w{bin/* lib/**/*.rb README README-library CHANGELOG TODO Install}).reject { |e| e=~ /\.(bat|cmd)$/ }
rdoc = glob(%w{bin/* lib/**/*.rb README* }).reject { |e| e=~ /\.(bat|cmd)$/ }
ri = glob(%w{bin/*.rb lib/**/*.rb}).reject { |e| e=~ /\.(bat|cmd)$/ }
man = glob(%w{man/man[0-9]/*})
libs = glob(%w{lib/**/*.rb lib/**/*.erb lib/**/*.py lib/puppet/util/command_line/*})
Expand Down

0 comments on commit 09e353e

Please sign in to comment.