summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-05 18:29:48 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-05 18:29:48 +0000
commit1280b0ae22329aea6b14c2b2661384e1ba4de63d (patch)
tree4dd355b834c3fe5f28956c83049cdc0284236588 /contrib
parent1eb1b33f62979dcc5ee05aa0ae759b565bab8373 (diff)
downloadgcc-1280b0ae22329aea6b14c2b2661384e1ba4de63d.tar.gz
* dg-extract-results.sh: Don't use tail -n.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155655 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/dg-extract-results.sh4
2 files changed, 6 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 2dc5d3af5ad..cd6fba61526 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * dg-extract-results.sh: Don't use tail -n.
+
2009-10-03 H.J. Lu <hongjiu.lu@intel.com>
Richard Guenther <rguenther@suse.de>
diff --git a/contrib/dg-extract-results.sh b/contrib/dg-extract-results.sh
index 518c19f6bee..0014b436a78 100755
--- a/contrib/dg-extract-results.sh
+++ b/contrib/dg-extract-results.sh
@@ -6,7 +6,7 @@
# The resulting file can be used with test result comparison scripts for
# results from tests that were run in parallel. See usage() below.
-# Copyright (C) 2008, 2009 Free Software Foundation
+# Copyright (C) 2008, 2009, 2010 Free Software Foundation
# Contributed by Janis Johnson <janis187@us.ibm.com>
#
# This file is part of GCC.
@@ -418,6 +418,6 @@ cat ${TMP}/var-* | $AWK -f $TOTAL_AWK
# This is ugly, but if there's version output from the compiler under test
# at the end of the file, we want it. The other thing that might be there
# is the final summary counts.
-tail -n 2 $FIRST_SUM | grep -q '^#' || tail -n 2 $FIRST_SUM
+tail -2 $FIRST_SUM | grep -q '^#' || tail -2 $FIRST_SUM
exit 0