lib/mixlib/install/generator/bourne.rb in mixlib-install-3.1.0 vs lib/mixlib/install/generator/bourne.rb in mixlib-install-3.2.0
- old
+ new
@@ -55,10 +55,16 @@
def render_variables
<<EOS
project=#{options.product_name}
version=#{options.product_version}
channel=#{options.channel}
+#{install_command_vars}
EOS
+ end
+
+ def install_command_vars
+ return if options.install_command_options.nil?
+ options.install_command_options.map { |key, value| "#{key}='#{value}'" }.join("\n")
end
end
end
end
end