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

ruby-changes:43969

From: nobu <ko1@a...>
Date: Wed, 31 Aug 2016 00:52:30 +0900 (JST)
Subject: [ruby-changes:43969] nobu:r56042 (trunk): extmk.rb: fix gem target directory name

nobu	2016-08-31 00:52:24 +0900 (Wed, 31 Aug 2016)

  New Revision: 56042

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56042

  Log:
    extmk.rb: fix gem target directory name
    
    * ext/extmk.rb: make the gems target directory under the expanded
      name.  [ruby-core:77102] [Bug #12714]

  Modified files:
    trunk/ChangeLog
    trunk/ext/extmk.rb
Index: ext/extmk.rb
===================================================================
--- ext/extmk.rb	(revision 56041)
+++ ext/extmk.rb	(revision 56042)
@@ -535,7 +535,7 @@ end https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L535
 if $extout
   extout = RbConfig.expand("#{$extout}", RbConfig::CONFIG.merge("topdir"=>$topdir))
   unless $ignore
-    FileUtils.mkpath(extout)
+    FileUtils.mkpath("#{extout}/gems")
   end
 end
 
@@ -565,7 +565,6 @@ end https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L565
 
 Dir.chdir('..')
 FileUtils::makedirs('gems')
-FileUtils::makedirs("#$extout/gems")
 Dir.chdir('gems')
 extout = $extout
 gems.each do |d|
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56041)
+++ ChangeLog	(revision 56042)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Aug 31 00:52:23 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/extmk.rb: make the gems target directory under the expanded
+	  name.  [ruby-core:77102] [Bug #12714]
+
 Tue Aug 30 15:27:27 2016  Kouhei Yanagita  <yanagi@s...>
 
 	* ext/json/lib/json/add/ostruct.rb (OpenStruct.json_create):

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

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