mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Copy LICENSE file if it exists also
This commit is contained in:
parent
fc6e9e5bab
commit
0dd07b3fdc
2
bin/brew
2
bin/brew
@ -93,7 +93,7 @@ def install formula
|
|||||||
else
|
else
|
||||||
formula.prefix.mkpath
|
formula.prefix.mkpath
|
||||||
formula.install
|
formula.install
|
||||||
%w[README ChangeLog COPYING COPYRIGHT AUTHORS].each do |file|
|
%w[README ChangeLog COPYING LICENSE COPYRIGHT AUTHORS].each do |file|
|
||||||
formula.prefix.install file if File.file? file
|
formula.prefix.install file if File.file? file
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user