install.rb in orderedhash-0.0.2 vs install.rb in orderedhash-0.0.3
- old
+ new
@@ -35,9 +35,12 @@
Find.find(srcdir) do |f|
next unless FileTest.file?(f)
next if (f = f[srcdir.length+1..-1]) == nil
next if (/CVS$/ =~ File.dirname(f))
next if f =~ %r/\.lnk/
+ next if f =~ %r/\.svn/
+ next if f =~ %r/\.swp/
+ next if f =~ %r/\.svn/
path.push f
dir |= [File.dirname(f)]
end
for f in dir
next if f == "."