summaryrefslogtreecommitdiff
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
commit5e604e6c02425ffe32fc7ff338312bff71fc1153 (patch)
tree33054115b3a8b200d120e74aefbba98649d99dd5
parentb68fb2efceebc8b32c895084b7aadd3acb7dadf4 (diff)
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
-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)