[PATCH] gen_build_files.sh: exclude hidden directories

Paulius Zaleckas paulius.zaleckas at gmail.com
Fri Jan 27 08:17:59 UTC 2012


On Fri, Jan 27, 2012 at 8:41 AM, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> On Jan 26, 2012 2:19 PM, "Paulius Zaleckas" <paulius.zaleckas at gmail.com>
> wrote:
>>
>> I am using quilt to manage patches internally. Quilt creates dir .pc
>> and stores unmodified files there. Since I made change in one of
>> Config.src quilt made a copy in .pc/xxx.patch/xxx/Config.src. When
>> I run make it calls gen_build_files.sh and it generates
>> .pc/xxx.patch/xxx/Config.in. Now when I want to pop patch quilt
>> thinks I have made changes to original xxx/Config.in.
>>
>> IMO the best solution is just to ignore hidden directories in
>> gen_build_files.sh. This also results in shorter build time in case
>> busybox is under git/svn versioning, since it avoids searching
>> many directories for Config.src.
>>
> I think it would be better to say
> find */ -type d | while etc..

Maybe... but it ignores only topmost hidden dirs. In my case it still
finds dirs like etc. findutils/.svn, examples/udhcp/.svn/tmp ...
And it won't work if "shopt -s dotglob" is set.


More information about the busybox mailing list