diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-23 05:40:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-23 05:40:11 +0000 |
commit | c2fdd98eb054fb5825061782ae610551ee00840c (patch) | |
tree | 1ecf0c0a1101aec2cce04459057539a1b31564df /lib | |
parent | 874ab2e63985f8bd920ad8aa55f5320d6361813a (diff) | |
download | ruby-c2fdd98eb054fb5825061782ae610551ee00840c.tar.gz |
* lib/mkmf.rb: $extmk should be true for test/runner.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 0af433a40f..4b196565ee 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -156,7 +156,7 @@ end topdir = File.dirname(File.dirname(__FILE__)) path = File.expand_path($0) $extmk = path[0, topdir.size+1] == topdir+"/" -$extmk &&= %r"\A(?:ext|enc|tool|test(?:/.+))\z" =~ File.dirname(path[topdir.size+1..-1]) +$extmk &&= %r"\A(?:ext|enc|tool|test(?:/.+)?)\z" =~ File.dirname(path[topdir.size+1..-1]) $extmk &&= true if not $extmk and File.exist?(($hdrdir = RbConfig::CONFIG["rubyhdrdir"]) + "/ruby/ruby.h") $topdir = $hdrdir |