odd build failures under koji/mock

Michael Schwendt bugs.michael at gmx.net
Sat Feb 23 10:19:17 UTC 2008


On Fri, 22 Feb 2008 20:21:56 -0500, Doug Chapman wrote:

> 
> On Fri, 2008-02-22 at 20:18 -0500, Jesse Keating wrote:
> > On Fri, 22 Feb 2008 19:54:34 -0500
> > Doug Chapman <doug chapman hp com> wrote:
> > 
> > > $ sh -x foo.sh
> > > + cp 'missingfile/*' /tmp
> > > cp: cannot stat `missingfile/*': No such file or directory
> > 
> > 
> > For completeness, please show 'foo.sh' (:
> 
> oh yeah, just like my 5rd grade teacher said, "show your work!"
> 
> $ cat foo.sh 
> #!/bin/sh
> cp missingfile/* /tmp
> 
> 
> The key here being that "missingfile" does not exist, which was the root
> of my original issue.

thanks, that's the key to reproducing it with non-builtins. if it expands
to existing paths, the quotes are not added in the xtrace. If, however,
the quotes exist in the script, that can not be concluded from watching
only the xtrace.




More information about the Fedora-buildsys-list mailing list