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

ariasgore at gmx.de ariasgore at gmx.de
Wed Jan 19 20:00:56 UTC 2011


Hello,
I am trying to create a shell step in that way:
ShellStep(command=['find', '.', '-name', '"*.php"', '-exec', 'dos2unix', '{}', '\;'])

but this does totally fail:
find . -name '"*.php"' -exec dos2unix '{}' '\;'
 in dir /opt/build (timeout 1200 secs)
 watching logfiles {}
 argv: ['find', '.', '-name', '"*.php"', '-exec', 'dos2unix', '{}', '\\;']

for sure that fails. Where did buildbot got those single quotes?
It quoted "*.php" and {} and \;
While I can fix the first one by do not add double quotes I see no way how to pass the last two arguments straight through.

Thanks
Sam

-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone




More information about the devel mailing list