зеркало из https://github.com/github/ruby.git
Fix syncing bundler man pages
`rm_rf` does not support globbing, so not all files get deleted.
This commit is contained in:
Родитель
8d1de3154c
Коммит
6b43200948
|
@ -80,7 +80,7 @@ def sync_default_gems(gem)
|
|||
cp_r(Dir.glob("#{upstream}/lib/rubygems*"), "lib")
|
||||
cp_r("#{upstream}/test/rubygems", "test")
|
||||
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/exe/bundle*"), "libexec")
|
||||
cp_r("#{upstream}/bundler/bundler.gemspec", "lib/bundler")
|
||||
|
|
Загрузка…
Ссылка в новой задаче