release tarballs should have LAST_UPDATED containing release tag?

Andreas Schwab schwab@suse.de
Mon Jul 14 13:53:00 GMT 2003


Dan Kegel <dank@kegel.com> writes:

|> Oh, if test_summary is changed to not need that file, that's fine.
|> 
|> Here's a quick hack, not sure if it works yet...
|> --- gcc-3.3/contrib/test_summary.old    Thu May 16 10:41:58 2002
|> +++ gcc-3.3/contrib/test_summary        Sun Jul 13 15:38:47 2003
|> @@ -98,7 +98,7 @@
|>       srcdir = $1;
|>       gsub(/\/configure$/, "", srcdir);
|>       printf "LAST_UPDATED: ";
|> -    system("tail -1 " srcdir "/LAST_UPDATED");
|> +    system("if -f " srcdir "/LAST_UPDATED; then tail -1 " srcdir "/LAST_UPDATED ; else echo No timestamp file");

Except that this should be

+    system("if test -f " srcdir "/LAST_UPDATED; then tail -1 " srcdir "/LAST_UPDATED ; else echo No timestamp file; fi");

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc mailing list