aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-10 01:22:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-10 01:22:50 +0000
commited89013e68c3fef05346a0e06c7a43f0f299190d (patch)
tree33054115b3a8b200d120e74aefbba98649d99dd5 /tool
parentf4de9234b28652a99dc0003fc2eaeea4903493f2 (diff)
downloadruby-ed89013e68c3fef05346a0e06c7a43f0f299190d.tar.gz
vcs.rb: remove git stuff
* tool/vcs.rb (VCS::GIT#after_export): remove git stuff not to distribute. [ruby-core:80629] [Feature #13415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 00f408612a..296703c1dc 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -421,7 +421,7 @@ class VCS
end
def after_export(dir)
- FileUtils.rm_rf("#{dir}/.git")
+ FileUtils.rm_rf(Dir.glob("#{dir}/.git*"))
end
def export_changelog(url, from, to, path)