gcc_update: fix check for local source tree.

contrib/ChangeLog:

	* gcc_update: Start using reload.c instead of version.c.
This commit is contained in:
Martin Liska 2021-05-10 12:11:48 +02:00
parent a076632e27
commit 933c5149e9

View File

@ -243,7 +243,7 @@ apply_patch () {
}
# Check whether this indeed looks like a local tree.
if [ ! -f gcc/version.c ]; then
if [ ! -f gcc/reload.c ]; then
echo "This does not seem to be a GCC tree!"
exit
fi