Title: Message Title
Stephen Benjamin commented on an issue
Puppet / Bug PUP-2361
Shellquote function includes words of 0 length
Given the following code in a puppet manifest:

$foo = '--foo'
$bar = ''"
$baz ="--baz"

$command = shellquote('asdf',$foo,$bar,$baz)

It produces this value for $command:

asdf --foo \"\" --baz

Whereas I think it should produce:

asdf --foo --baz

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to