Error in variable declaration, minor output improvement

git-svn-id: file:///home/svn/framework3/trunk@10188 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Carlos Perez 2010-08-30 18:09:03 +00:00
parent a0f86c62e3
commit 1c45eba566
1 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#-------------------------------------------------------------------------------
@client = client
location = nil
search_blob = nil
search_blob = []
input_file = nil
output_file = nil
recurse = false
@ -64,8 +64,9 @@ if client.platform =~ /win32|win64/
if input_file and logs
if ::File.exists?(input_file)
print_status("Reading file #{input_file}")
print_status("Downloading to #{logs}")
::File.open(input_file, "r").each_line do |line|
print_status("Downloading #{line.chomp}")
print_status("\tDownloading #{line.chomp}")
@client.fs.file.download(logs, line.chomp)
end
else