lib/mixlib/install/generator/powershell.rb in mixlib-install-0.8.0.alpha.7 vs lib/mixlib/install/generator/powershell.rb in mixlib-install-0.8.0.alpha.8

- old
+ new

@@ -87,14 +87,14 @@ options.product_version end end def render_command - <<EOS -install -project #{options.product_name} \ --version #{product_version} \ --channel #{options.channel} -EOS + cmd = "install -project #{options.product_name}" + cmd << " -version #{product_version}" + cmd << " -channel #{options.channel}" + cmd << " -architecture #{options.architecture}" if options.architecture + cmd << "\n" end end end end end