update-all-config.pl: only chdir into each project once
commitb93536e4b1cbb6ee6261cbddbe3f8f2e4348bd7e
authorKyle J. McKay <mackyle@gmail.com>
Wed, 29 Nov 2017 19:46:31 +0000 (29 11:46 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 29 Nov 2017 19:46:31 +0000 (29 11:46 -0800)
treeba85fa80bb72fa84beaa50faa7b6cb80c6bb394a
parent5712b3a88ea5b4fe846732dea5f4ceb7de03aced
update-all-config.pl: only chdir into each project once

Since running the external find needs to first have a chdir
performed to the project directory it does not make sense to
do that for every external find command while not doing it
for the script itself.

This creates unnecessary chdir calls and makes the script
more complex than it needs to be.

Instead chdir to the project just once and simplify all
the project processing code to expect that to be the case.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
toolbox/update-all-config.pl