From ed89013e68c3fef05346a0e06c7a43f0f299190d Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 10 Apr 2017 01:22:50 +0000 Subject: 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 --- tool/vcs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3