Commit Graph

2 Commits

Author SHA1 Message Date
Jay Adkisson
dd15137e41 escape quotes for bash, furrealz this time
Any parameter in a job type template which is surrounded by quotes
will now be auto-escaped.

Examples:

job_type :foo, :template => "/my/cool/bin ':bar'"

every :day do
  foo %(single quote! -> ' <-)
end

will render to

@daily /my/cool/bin 'single quote! -> '\'' <-'
2010-07-03 22:55:32 +08:00
Javan Makhmali
505a0b4075 attempting to escape quotes 2010-07-02 17:39:17 -04:00