diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-30 15:52:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-30 15:52:24 +0000 |
commit | 529687b223d8bf5418b4761bb5efc70eda1efd65 (patch) | |
tree | 48b347ecd17a406f468475ae03b34390013875ac /ext | |
parent | ee08ea3bac67aa7f04200d7267808b57c3e098ef (diff) | |
download | ruby-529687b223d8bf5418b4761bb5efc70eda1efd65.tar.gz |
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')
-rwxr-xr-x | ext/extmk.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index f75d2eaad8..d5592e114c 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| |