Permalink
Browse files

Merge pull request #3 from richardc/master

fix for 1.8.5
  • Loading branch information...
mosen committed May 26, 2012
2 parents 7310ebb + 6c22361 commit 3dc6f923e81077d47997e6b9a2eee4f4da427ea7
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/puppet/provider/printer/cups.rb
@@ -131,7 +131,7 @@ def self.printer_options(destination)
options = {}
# 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('=')
options[values[0]] = values[1]
end

0 comments on commit 3dc6f92

Please sign in to comment.