summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-30 15:52:24 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-30 15:52:24 (GMT)
commita846ecf59f3f26520c14870104cdda17519c9153 (patch)
tree48b347ecd17a406f468475ae03b34390013875ac /ext/extmk.rb
parent12da0d0dfada878d5045d52f0786256d0721e0d8 (diff)
extmk.rb: fix gem target directory name
* ext/extmk.rb: make the gems target directory under the expanded name. [ruby-core:77102] [Bug #12714] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-xext/extmk.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index f75d2ea..d5592e1 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -535,7 +535,7 @@ end
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
Dir.chdir('..')
FileUtils::makedirs('gems')
-FileUtils::makedirs("#$extout/gems")
Dir.chdir('gems')
extout = $extout
gems.each do |d|