FreeBSD Bugzilla – Attachment 127358 Details for
Bug 171188
sysutils/puppet shell_config example no longer works due to puppet bug #15080
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 524 bytes, created by
Christopher McCoy
on 2012-08-30 18:00:19 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Christopher McCoy
Created:
2012-08-30 18:00:19 UTC
Size:
524 bytes
patch
obsolete
>--- lib/puppet/provider/exec.rb.orig 2012-08-21 17:41:17.000000000 -0400 >+++ lib/puppet/provider/exec.rb 2012-08-30 12:31:32.000000000 -0400 >@@ -66,11 +66,9 @@ > end > > def extractexe(command) >- if command.is_a? Array >- command.first >- elsif match = /^"([^"]+)"|^'([^']+)'/.match(command) >- # extract whichever of the two sides matched the content. >- match[1] or match[2] >+ # easy case: command was quoted >+ if command =~ /^"([^"]+)"/ >+ $1 > else > command.split(/ /)[0] > end
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 171188
: 127358