aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-27 02:55:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-27 02:55:02 +0000
commit07dd4e2532eeed0129f9dcdbf9cf555401b684e4 (patch)
tree8c05b8e48f7ffef1263cf1002e77b5421602383f /template
parent25ebdf3ebdd9aa2f0f21727dffced03ae9428ce8 (diff)
downloadruby-07dd4e2532eeed0129f9dcdbf9cf555401b684e4.tar.gz
configure-ext.mk.tmpl: fix ext build
* template/configure-ext.mk.tmpl: fixed inverted names of target and directory, and chomp the last slash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r--template/configure-ext.mk.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/configure-ext.mk.tmpl b/template/configure-ext.mk.tmpl
index df51404069..0d079a4fde 100644
--- a/template/configure-ext.mk.tmpl
+++ b/template/configure-ext.mk.tmpl
@@ -14,8 +14,8 @@ opt = OptionParser.new do |o|
end
srcdir ||= File.dirname(File.dirname(__FILE__))
exts = {}
-[["ext", "exts"], ["gems", "gems"]].each do |t, dir|
- exts[t] = Dir.glob("#{srcdir}/#{dir}/*/").map {|n| n[(srcdir.size+1)..-1]}
+[["exts", "ext"], ["gems", "gems"]].each do |t, dir|
+ exts[t] = Dir.glob("#{srcdir}/#{dir}/*/").map {|n| n[(srcdir.size+1)..-2]}
end
%>
MINIRUBY = <%=miniruby%>