A couple bug fixes from Andreas Schwab:
[platform/upstream/automake.git] / automake.in
index bf726f7..6b08f8d 100755 (executable)
@@ -3803,7 +3803,7 @@ sub handle_tests
            }
 
            $output_rules .= ("\t\@echo '## All variables above are generated by configure. Do Not Edit ##' >> \$\@-t\n"
-                             . "\t-\@sed '1,/^## All variables above are.*##/ d' site.bak >> \$\@-t\n"
+                             . "\t-\@sed '1,/^## All variables above are.*##/ d' site.exp >> \$\@-t\n"
                              . "\t-\@mv site.exp site.bak\n"
                              . "\t\@mv \$\@-t site.exp\n");
        }