gcc_update: fix check for local source tree.
authorMartin Liska <mliska@suse.cz>
Mon, 10 May 2021 10:11:48 +0000 (12:11 +0200)
committerMartin Liska <mliska@suse.cz>
Mon, 10 May 2021 10:12:31 +0000 (12:12 +0200)
contrib/ChangeLog:

* gcc_update: Start using reload.c instead of version.c.

contrib/gcc_update

index 45a27b7..04dc490 100755 (executable)
@@ -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