Permalink
Browse files

(#14521) Ensure install propagates licenses

Prior to Facter 2.0, we weren't vendoring code that specifically
required a license, so we didn't need to propagate licenses. Now
Facter 2.0 is vendoring code and we need to explicitly include
the license for that code.
  • Loading branch information...
1 parent 4eaa7c4 commit 0fa58fcaa5c645265b629916be889143081258f8 @HAIL9000 HAIL9000 committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.rb
View
@@ -87,7 +87,7 @@ def glob(list)
rdoc = glob(%w{bin/* sbin/* lib/**/*.rb README README-library CHANGELOG TODO Install}).reject { |e| e=~ /\.(bat|cmd)$/ }
ri = glob(%w(bin/*.rb sbin/* lib/**/*.rb)).reject { |e| e=~ /\.(bat|cmd)$/ }
man = glob(%w{man/man8/*})
-libs = glob(%w{lib/**/*.rb lib/**/*.py})
+libs = glob(%w{lib/**/*.rb lib/**/*.py lib/**/LICENSE})
tests = glob(%w{tests/**/*.rb})
def do_bins(bins, target, strip = 's?bin/')

0 comments on commit 0fa58fc

Please sign in to comment.