1.8.6 compatibility fix

git-svn-id: file:///home/svn/framework3/trunk@10086 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2010-08-20 20:31:39 +00:00
parent 9c69e3c670
commit 0e896261cb
1 changed files with 1 additions and 1 deletions

View File

@ -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