]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: avoid dot-directories when configuring
authorAlex Elder <aelder@sgi.com>
Wed, 30 Mar 2011 17:52:39 +0000 (17:52 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 30 Mar 2011 20:02:11 +0000 (15:02 -0500)
commitd9ee1c4c0b502d59d4e401626642ea09e792f1a4
tree0f32bdd22c230854c604671b4747b215bb17523c
parentd675ae8e5e4ca6d1a06f046bb1379abb75ecd6c9
xfsprogs: avoid dot-directories when configuring

The "find" command used in the configure script to find localized
files searches through directories (including .git and .pc) that
really should be ignored.  Change it so it skips over these
directories.

I think it's reasonable to assume any such "dot directory" should be
ignored, so this change skips any directory at the top level whose
name begins with ".".

Note that I found an odd anomaly in "find".  If you do not supply
the "-print" argument, the pruned directory names show up in the
output.  Supplying "-print" does not include them (and that's what
we want).

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
configure.in