[Buildbot-devel] ShellCommand syntax

Dustin J. Mitchell dustin at zmanda.com
Fri Oct 19 14:43:38 UTC 2007


On 10/19/07, Andrei Emeltchenko <andrei.emeltchenko.news at gmail.com> wrote:
> self.addStep(ShellCommand,
>                      command=["cp", "*image*", export_dir])

Glob expansion is a shell feature, but by handing ShellCommand a list
of strings, you're actually bypassing the shell and running that
command directly.  Using
  command="cp *image* %s" % export_dir
will work.

Dustin

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




More information about the devel mailing list