glibc/scripts
Joseph Myers a1c9859baf 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.
2016-11-25 00:58:22 +00:00
..
abi-versions.awk Remove bitrotten --enable-oldest-abi (bug 6652). 2014-09-16 17:45:03 +00:00
abilist.awk Simplify the abilist format 2015-11-06 13:58:53 +01:00
begin-end-check.pl Add rules to run scripts/begin-end-check.pl. 2005-09-17 17:15:50 +00:00
build-many-glibcs.py Make build-many-glibcs.py re-exec itself if changed by checkout. 2016-11-25 00:58:22 +00:00
check-c++-types.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
check-execstack.awk Do check-execstack test using readelf rather than a build-time C program. 2012-05-01 13:27:52 -07:00
check-installed-headers.sh Make check-installed-headers.sh ignore sys/sysctl.h for x32. 2016-11-07 23:32:17 +00:00
check-local-headers.sh mach: Add more allowed external headers 2016-08-21 03:24:55 +02:00
check-localplt.awk Extend local PLT reference check 2015-07-29 11:58:06 -07:00
check-textrel.awk Do check-textrel test using readelf rather than a build-time C program. 2012-05-01 13:27:11 -07:00
config-uname.sh Rejigger header generation for default uname implementation. 2010-08-24 11:56:52 -07:00
config.guess Make shebang interpreter directives consistent 2016-01-08 14:09:06 -05:00
config.sub Make shebang interpreter directives consistent 2016-01-08 14:09:06 -05:00
cpp Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
cross-test-ssh.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
documented.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
evaluate-test.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
firstversions.awk Fix bug in firstversions.awk version range handling. 2012-01-28 12:02:44 -05:00
gen-as-const.awk Fix 64-bit platform handling in test cases for generated headers with constants. 2009-08-16 00:39:43 -07:00
gen-libc-abis Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
gen-libc-modules.awk Auto-generate libc-modules.h 2014-11-19 12:16:00 +05:30
gen-posix-conf-vars.awk Remove uses of sprintf in gen-posix-conf-vars.awk 2015-01-02 11:16:35 +05:30
gen-sorted.awk Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
install-sh Update miscellaneous files from upstream sources. 2014-06-26 20:13:44 +00:00
lib-names.awk Clean up gnu/lib-names.h generation (bug 14171). 2014-09-26 17:33:04 +00:00
list-fixed-bugs.py Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
list-sources.sh Update scripts/list-sources.sh for ports repository merge. 2014-06-26 21:30:07 +00:00
localplt.awk Support PLT and GOT references in local PIC check 2015-10-14 06:00:02 -07:00
merge-test-results.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
mkinstalldirs Make shebang interpreter directives consistent 2016-01-08 14:09:06 -05:00
move-if-change Update miscellaneous files from upstream sources. 2016-01-05 18:04:06 +00:00
output-format.sed 2004-08-13 Daniel Jacobowitz <dan@debian.org> 2004-08-14 06:54:39 +00:00
pylint Implement benchmarking script in python 2014-03-21 17:32:50 +05:30
pylintrc pylintrc: disable reports 2015-11-11 13:41:57 -05:00
rellns-sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
soversions.awk Remove bitrotten --enable-oldest-abi (bug 6652). 2014-09-16 17:45:03 +00:00
sysd-rules.awk sysd-rules: Cut down the number of rtld-% pattern rules 2016-09-20 10:41:05 +02:00
test-installation.pl Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
update-abilist.sh Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
update-copyrights Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
versionlist.awk Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
versions.awk Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00