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

Ariasgore ariasgore at gmx.de
Mon Jan 24 06:05:47 UTC 2011


Hi,

that wasn't the problem but rather the double quotes around dos2unix {} \;

I've solved it by passing the entire string as string and not as an array so
everything worked.

 

Thanks

 

Von: William Siegrist [mailto:wsiegrist at apple.com] 
Gesendet: Donnerstag, 20. Januar 2011 21:57
An: Ariasgore
Cc: 'Amber Yust'; buildbot-devel at lists.sourceforge.net
Betreff: Re: [Buildbot-devel] ShellStep, how to remove those quotes?

 

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/20110124/e6f085e1/attachment.html>


More information about the devel mailing list