On Sat, May 16, 2015 at 11:17 AM, Dave Johansen <davejohansen(a)gmail.com>
wrote:
How can I use a find with -exec in a .spec file? It appears that the
{} is
being put in quotes and not doing what I'd expect. Is there a way for me to
prevent the quoting and make this work?
Thanks,
Dave
Nevermiind. This was a stupid mistake on my part. I had a logical error. I
was doing "find -name "a*" -or -name "b*" -exec cmd {} \; and
forgot that
the I needed to enclose the -or in \( \) so that the -exec would happen on
all conditions.
Sorry for the noise,
Dave