Speed up fixincludes.
authorMartin Liska <mliska@suse.cz>
Thu, 3 Feb 2022 14:49:43 +0000 (15:49 +0100)
committerMartin Liska <mliska@suse.cz>
Thu, 3 Feb 2022 17:45:06 +0000 (18:45 +0100)
commitc7d0d03a6bfbd09dccaeaa0ed6c2e072c86e4792
treeb5e72c040731e55b44f4f8f8ae502ed5e570107e
parent48bd780ee327c9ae6ffc0641e73cc1f4939fb204
Speed up fixincludes.

In my case:
$ rm ./stmp-fixinc ; time make -j16

takes 17 seconds, where I can reduce it easily with the suggested
change. Then I get to 11.2 seconds.

The scripts searches ~2500 folders in my case with total 20K header
files.

fixincludes/ChangeLog:

* fixinc.in: Use mkdir -p rather that a loop.
fixincludes/fixinc.in