[前][次][番号順一覧][スレッド一覧]

ruby-changes:60595

From: usa <ko1@a...>
Date: Tue, 31 Mar 2020 07:33:50 +0900 (JST)
Subject: [ruby-changes:60595] 8580c09351 (ruby_2_5): merge revision(s) 8a6ba10f9dd456cf54de800203cf04bbe42271fb: [Backport #12392]

https://git.ruby-lang.org/ruby.git/commit/?id=8580c09351

From 8580c09351da0e8c76ba88a91ddfdadcdba24409 Mon Sep 17 00:00:00 2001
From: usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Mon, 30 Mar 2020 22:33:37 +0000
Subject: merge revision(s) 8a6ba10f9dd456cf54de800203cf04bbe42271fb: [Backport
 #12392]

	Do not make disabled directories at installation  [Bug #12392]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 830ce97..d0bb309 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -327,10 +327,14 @@ rubyhdrdir = CONFIG["rubyhdrdir", true] https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L327
 archhdrdir = CONFIG["rubyarchhdrdir"] || (rubyhdrdir + "/" + CONFIG['arch'])
 rubylibdir = CONFIG["rubylibdir", true]
 archlibdir = CONFIG["rubyarchdir", true]
-sitelibdir = CONFIG["sitelibdir"]
-sitearchlibdir = CONFIG["sitearchdir"]
-vendorlibdir = CONFIG["vendorlibdir"]
-vendorarchlibdir = CONFIG["vendorarchdir"]
+if CONFIG["sitedir"]
+  sitelibdir = CONFIG["sitelibdir"]
+  sitearchlibdir = CONFIG["sitearchdir"]
+end
+if CONFIG["vendordir"]
+  vendorlibdir = CONFIG["vendorlibdir"]
+  vendorarchlibdir = CONFIG["vendorarchdir"]
+end
 mandir = CONFIG["mandir", true]
 docdir = CONFIG["docdir", true]
 configure_args = Shellwords.shellwords(CONFIG["configure_args"])
diff --git a/version.h b/version.h
index c7af795..d1abb18 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L1
 #define RUBY_VERSION "2.5.8"
 #define RUBY_RELEASE_DATE "2020-03-31"
-#define RUBY_PATCHLEVEL 219
+#define RUBY_PATCHLEVEL 220
 
 #define RUBY_RELEASE_YEAR 2020
 #define RUBY_RELEASE_MONTH 3
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]