summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rwxr-xr-xext/extmk.rb3
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|