aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-15 08:34:24 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-15 09:40:22 +0900
commit0a711b0edff6eaf978cfc17cdd6a7cc6c17c6686 (patch)
treea4f7984cad1c874691ffa4f8c88167cf0451520b /tool
parent8f7884761e30c453287d73de6ea733d565635ebc (diff)
downloadruby-0a711b0edff6eaf978cfc17cdd6a7cc6c17c6686.tar.gz
Put vcs .rb to under the lib direcotory.
Because it's the common library for tool files.
Diffstat (limited to 'tool')
-rwxr-xr-xtool/file2lastrev.rb2
-rw-r--r--tool/lib/vcs.rb (renamed from tool/vcs.rb)0
-rwxr-xr-xtool/make-snapshot2
3 files changed, 2 insertions, 2 deletions
diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb
index e39e7422d3..68c660efaa 100755
--- a/tool/file2lastrev.rb
+++ b/tool/file2lastrev.rb
@@ -7,7 +7,7 @@ require 'optparse'
# this file run with BASERUBY, which may be older than 1.9, so no
# require_relative
-require File.expand_path('../vcs', __FILE__)
+require File.expand_path('../lib/vcs', __FILE__)
Program = $0
diff --git a/tool/vcs.rb b/tool/lib/vcs.rb
index dd6162c8c2..dd6162c8c2 100644
--- a/tool/vcs.rb
+++ b/tool/lib/vcs.rb
diff --git a/tool/make-snapshot b/tool/make-snapshot
index fa234f5ca6..d6530b3842 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -7,7 +7,7 @@ require 'fileutils'
require 'shellwords'
require 'tmpdir'
require 'pathname'
-require File.expand_path("../vcs", __FILE__)
+require File.expand_path("../lib/vcs", __FILE__)
require File.expand_path("../colorize", __FILE__)
STDOUT.sync = true