Skip to content

Commit

Permalink
Merge pull request #3 from richardc/master
Browse files Browse the repository at this point in the history
fix for 1.8.5
  • Loading branch information
mosen committed May 26, 2012
2 parents 7310ebb + 6c22361 commit 3dc6f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/printer/cups.rb
Expand Up @@ -131,7 +131,7 @@ def self.printer_options(destination)
options = {} options = {}


# I'm using shellsplit here from the ruby std lib to avoid having to write a quoted string parser. # I'm using shellsplit here from the ruby std lib to avoid having to write a quoted string parser.
lpoptions('-d', destination).shellsplit.each do |kv| Shellwords.shellwords(lpoptions('-d', destination)).each do |kv|
values = kv.split('=') values = kv.split('=')
options[values[0]] = values[1] options[values[0]] = values[1]
end end
Expand Down

0 comments on commit 3dc6f92

Please sign in to comment.