fix var type problem

git-svn-id: file:///home/svn/framework3/trunk@12858 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Carlos Perez 2011-06-05 13:10:49 +00:00
parent 68d8a68a36
commit de931d51f0
1 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,7 @@ wininfo = client.sys.config.sysinfo
"-rc" => [ true,"Text file with list of commands, one per line."]
)
#Setting Argument variables
commands = nil
commands = []
script = nil
outfile = nil
help = 0
@ -77,7 +77,6 @@ end
if not ::File.exists?(script)
raise "Command List File does not exists!"
else
commands ||= ''
::File.open(script, "r").each_line do |line|
commands << line.chomp
end