aboutsummaryrefslogtreecommitdiff
path: root/nptl_db/db_info.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-11-25 00:58:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-11-25 00:58:22 +0000
commita1c9859baf0b9a062bee6218e5e3402577b2c84e (patch)
tree25783e955ba00ebdbe2c09c86468bf23bc7a60b6 /nptl_db/db_info.c
parent457663a7cd48a675b44769368567713353011b5b (diff)
downloadglibc-a1c9859baf0b9a062bee6218e5e3402577b2c84e.zip
glibc-a1c9859baf0b9a062bee6218e5e3402577b2c84e.tar.gz
glibc-a1c9859baf0b9a062bee6218e5e3402577b2c84e.tar.bz2
Make build-many-glibcs.py re-exec itself if changed by checkout.
Updating build-many-glibcs.py may result in changes to the default versions of components, or to the set of components (if e.g. Hurd support is added and that requires a new component). It's desirable for the checkout process to leave a source tree that is ready to use. If the checkout updated the script itself, that means it needs to be rerun to cause any new versions or components referenced by the new script version to be properly checked out. This patch makes the script check if it was modified by the checkout process, and re-exec itself (with the same arguments) if so. * scripts/build-many-glibcs.py (Context.__init__): Save text of script being executed. (Context.get_script_text): New function. (Context.exec_self): Likewise. (Context.checkout): Re-exec script if changed by checkout process.
Diffstat (limited to 'nptl_db/db_info.c')
0 files changed, 0 insertions, 0 deletions