Commit a5b41392 authored by Matt Wrock's avatar Matt Wrock Committed by GitHub
Browse files

Merge pull request #125 from tknerr/fix-choco-installargs

fix the "--installargs" parameter by using "--ia" instead of "-ia"
parents db1fbf16 986c4fc6
......@@ -82,8 +82,8 @@ end
def cmd_args
output = ''
output += " -source #{@current_resource.source}" if @current_resource.source
output += " -ia '#{@current_resource.args}'" unless @current_resource.args.to_s.empty?
output += " --source #{@current_resource.source}" if @current_resource.source
output += " --installargs '#{@current_resource.args}'" unless @current_resource.args.to_s.empty?
@current_resource.options.each do |k, v|
output += " -#{k}"
output += " #{v}" if v
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment