Fixed #280. Fix namespace lookup for "FileUtils", thanks grymoire
git-svn-id: file:///home/svn/framework3/trunk@6454 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
0fb71d56bd
commit
67ab1cca92
|
@ -222,7 +222,7 @@ module Analyze
|
|||
dest = File.join(dest, File.basename(param['file']))
|
||||
end
|
||||
|
||||
FileUtils.mkdir_p(dest)
|
||||
::FileUtils.mkdir_p(dest)
|
||||
|
||||
pe.resources.keys.sort.each do |rkey|
|
||||
res = pe.resources[rkey]
|
||||
|
@ -247,7 +247,7 @@ module Analyze
|
|||
dest = param['dir']
|
||||
path = ''
|
||||
|
||||
FileUtils.mkdir_p(dest)
|
||||
::FileUtils.mkdir_p(dest)
|
||||
|
||||
if(not (param['dir'] and param['file']))
|
||||
$stderr.puts "No directory or file specified"
|
||||
|
@ -296,4 +296,4 @@ module Analyze
|
|||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue