X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=contrib%2Ftest_summary;h=9bb06051efd062c98b127eb018cacbd816f038e9;hp=98664359bc2e5b93a0ff9c8b126d8f416d8335c4;hb=4e30bc1556568e41c6dc78d8f2eaa498e67535b0;hpb=64c447ec91005819f66baf15962dcf48fa9f8fc7;ds=sidebyside diff --git a/contrib/test_summary b/contrib/test_summary index 98664359bc2..9bb06051efd 100755 --- a/contrib/test_summary +++ b/contrib/test_summary @@ -1,6 +1,7 @@ #! /bin/sh -# (C) 1998, 1999, 2000, 2002 Free Software Foundation +# (C) 1998, 1999, 2000, 2002, 2003, 2004, 2007, 2009 +# Free Software Foundation # Originally by Alexandre Oliva # This script is Free Software, and it can be copied, distributed and @@ -106,9 +107,11 @@ configflags == "" { sub(/^s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,/, "", configflags); srcdir = configflags; sub(/\/configure .*/, "", srcdir); - printf "LAST_UPDATED: "; - system("tail -1 " srcdir "/LAST_UPDATED"); - print ""; + if ( system("test -f " srcdir "/LAST_UPDATED") == 0 ) { + printf "LAST_UPDATED: "; + system("tail -1 " srcdir "/LAST_UPDATED"); + print ""; + } sub(/^[^ ]*\/configure */, " ", configflags); sub(/,;t t $/, " ", configflags);