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

Ariasgore ariasgore at gmx.de
Thu Jan 20 18:53:49 UTC 2011


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', '{}', '\;']






More information about the devel mailing list