1.8.6 compatibility fix
git-svn-id: file:///home/svn/framework3/trunk@10086 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
9c69e3c670
commit
0e896261cb
|
@ -25,7 +25,7 @@ module Msf::Payload::Java
|
|||
paths.each do |path|
|
||||
1.upto(path.length - 1) do |idx|
|
||||
full = path[0,idx].join("/") + "/"
|
||||
if !(jar.entries.map(&:name).include?(full))
|
||||
if !(jar.entries.map{|e|e.name}.include?(full))
|
||||
jar.add_file(full, '')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue