1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-18 19:20:36 -04:00
ports/sysutils/rubygem-r10k/files/patch-lib_r10k_action_runner.rb
Romain Tartière 30cefbba7e Update to 3.3.0
With hat:	puppet
2019-07-27 00:31:31 +00:00

11 lines
582 B
Ruby

--- lib/r10k/action/runner.rb.orig
+++ lib/r10k/action/runner.rb
@@ -44,7 +44,7 @@
overrides = {}
overrides[:cachedir] = @opts[:cachedir] unless @opts[:cachedir].nil?
- overrides[:deploy] = {} if @opts[:'puppet-path'] || @opts[:'generate-types']
+ overrides[:deploy] = {} if !@opts[:'puppet-path'].nil? || !@opts[:'generate-types'].nil?
overrides[:deploy][:puppet_path] = @opts[:'puppet-path'] unless @opts[:'puppet-path'].nil?
overrides[:deploy][:generate_types] = @opts[:'generate-types'] unless @opts[:'generate-types'].nil?