summaryrefslogtreecommitdiff
path: root/lib/mkmf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r--lib/mkmf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index e7d47558b20..80fcac4ad07 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -134,7 +134,7 @@ def install_rb(mfile, dest, srcdir = nil)
next unless /\.rb$/ =~ f
f = f[libdir.length+1..-1]
path.push f
- dir |= File.dirname(f)
+ dir |= [File.dirname(f)]
end
end
for f in dir