[Buildbot-devel] Using wildcards in a ShellCommand shell script

Dustin J. Mitchell dustin at zmanda.com
Tue Apr 8 13:41:19 UTC 2008


On Tue, Apr 8, 2008 at 5:55 AM, J. Félix Ontañón <fontanon at emergya.es> wrote:
>  But why that ShellCommand fails !!!
>
>  class UploadDebSrc(ShellCommand):
>     command = ["ls", "../f*"]

Wildcards are interpreted by the shell, but buildbot bypasses the
shell when you give a command as a list of strings.  If you give the
command as a string, it will invoke the shell:

  command = "ls ../f*"

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


More information about the devel mailing list