diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-27 02:55:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-27 02:55:02 +0000 |
commit | 3be16b24f36250d483e87740a6d2a077ab54f4fa (patch) | |
tree | 8c05b8e48f7ffef1263cf1002e77b5421602383f /template | |
parent | 8edb6ce4f7920dadcead21dc064557ea7c8b9e25 (diff) |
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.tmpl | 4 |
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%> |