mirror of
https://github.com/ruby/ruby.git
synced 2025-08-28 07:26:00 +02:00
[ruby/optparse] Use Dir.glob and base keyword arg for the installer of Ruby package
24374b42d3
This commit is contained in:
parent
03e08a946d
commit
05443bb7e9
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|||
spec.metadata["homepage_uri"] = spec.homepage
|
||||
spec.metadata["source_code_uri"] = spec.homepage
|
||||
|
||||
spec.files = Dir["{doc,lib,misc}/**/{*,.document}"] +
|
||||
spec.files = Dir.glob("{doc,lib,misc}/**/{*,.document}", base: File.expand_path("..", __FILE__)) +
|
||||
%w[README.md ChangeLog COPYING .document .rdoc_options]
|
||||
spec.bindir = "exe"
|
||||
spec.executables = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue