[Buildbot-devel] ShellStep, how to remove those quotes?

William Siegrist wsiegrist at apple.com
Thu Jan 20 20:56:54 UTC 2011


You need to separate them in the array like you had originally, but without the extra quotes around *.php. 

-Bill



On Jan 20, 2011, at 10:53 AM, Ariasgore wrote:

> Hello,
> 
> didn't work, it put   dos2unix {}; in quotes resulting in
> find . -name "*.php" -exec "dos2unix {};"
> 
> Sam
> 
> -----------------------
> 
> Von: Amber Yust [mailto:ayust at yelp.com] 
> Gesendet: Mittwoch, 19. Januar 2011 21:17
> An: ariasgore at gmx.de
> Cc: buildbot-devel at lists.sourceforge.net
> Betreff: Re: [Buildbot-devel] ShellStep, how to remove those quotes?
> 
> You might try...
> 
> ['find', '.', '-name', '*.php', '-exec', 'dos2unix {};']
> 
> Keep in mind that with the list parameter format, you're not going through a
> shell's interpreter layer.
> 
> ~Amber
> On Wed, Jan 19, 2011 at 12:00 PM, <ariasgore at gmx.de> wrote:
> ['find', '.', '-name', '"*.php"', '-exec', 'dos2unix', '{}', '\;']
> 
> 
> 
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand 
> malware threats, the impact they can have on your business, and how you 
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110120/892f410e/attachment.html>


More information about the devel mailing list