mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix syncing bundler man pages
`rm_rf` does not support globbing, so not all files get deleted.
This commit is contained in:
parent
8d1de3154c
commit
6b43200948
Notes:
git
2020-09-01 21:18:38 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ def sync_default_gems(gem)
|
||||||
cp_r(Dir.glob("#{upstream}/lib/rubygems*"), "lib")
|
cp_r(Dir.glob("#{upstream}/lib/rubygems*"), "lib")
|
||||||
cp_r("#{upstream}/test/rubygems", "test")
|
cp_r("#{upstream}/test/rubygems", "test")
|
||||||
when "bundler"
|
when "bundler"
|
||||||
rm_rf(%w[lib/bundler lib/bundler.rb libexec/bundler libexec/bundle spec/bundler man/bundle* man/gemfile*])
|
rm_rf(%w[lib/bundler lib/bundler.rb libexec/bundler libexec/bundle spec/bundler] + Dir.glob("man/{bundle*,gemfile*}"))
|
||||||
cp_r(Dir.glob("#{upstream}/bundler/lib/bundler*"), "lib")
|
cp_r(Dir.glob("#{upstream}/bundler/lib/bundler*"), "lib")
|
||||||
cp_r(Dir.glob("#{upstream}/bundler/exe/bundle*"), "libexec")
|
cp_r(Dir.glob("#{upstream}/bundler/exe/bundle*"), "libexec")
|
||||||
cp_r("#{upstream}/bundler/bundler.gemspec", "lib/bundler")
|
cp_r("#{upstream}/bundler/bundler.gemspec", "lib/bundler")
|
||||||
|
|
Loading…
Reference in a new issue