about summary refs log tree commit diff
path: root/localedata
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-01-29 13:59:33 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-01-29 13:59:33 +0000
commite3aa6999d7f59324dfca6131268825bc73ee0375 (patch)
tree944f7ef3cd49717c7a7a8c85cc49d2435f6678f4 /localedata
parent088de7d0091bdfac4b702ab2060289affc85d6a4 (diff)
downloadglibc-e3aa6999d7f59324dfca6131268825bc73ee0375.tar.gz
glibc-e3aa6999d7f59324dfca6131268825bc73ee0375.tar.xz
glibc-e3aa6999d7f59324dfca6131268825bc73ee0375.zip
Make build-many-glibcs.py clean git source directories.
With the git checkouts of Hurd components in build-many-glibcs.py
involving running autoreconf, there's a risk that generated files
could be left behind by an old autoreconf run (if an old version of
the sources generates those files in the source directory but a new
version does not).

This patch avoids that by using git clean -dxfq when updating git
checkouts.  In this patch, that's conditional on --replace-sources, to
avoid removing any local not-checked-in files someone may have in
their checkout unless the option has been specifically passed that
says it's OK to blow old checkouts away, complete with any local
changes to them.

	* scripts/build-many-glibcs.py (Context.git_checkout): Use git
	clean -dxfq for git updates when replacing sources.
Diffstat (limited to 'localedata')
0 files changed, 0 insertions, 0 deletions