diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-25 18:50:01 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-25 18:50:01 +0000 |
commit | b1383b01d1804c63fc30fbc35276e2b2ecac2c94 (patch) | |
tree | b8d7cc9605d25f186e34f2a124bc0c2f11130694 /contrib | |
parent | c4b9c21a2470c2d1d1cca1577a802531752ab067 (diff) | |
download | gcc-b1383b01d1804c63fc30fbc35276e2b2ecac2c94.tar.gz |
libjava:
* configure.ac: Redirect grep stdout, stderr to /dev/null instead
of grep -q.
Use -- instead of grep -e.
* configure: Regenerate.
gcc:
* configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout,
stderr to /dev/null instead of grep -q.
* configure: Regenerate.
contrib:
* dg-extract-results.sh: Redirect grep output to /dev/null instead
of grep -q.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 5 | ||||
-rwxr-xr-x | contrib/dg-extract-results.sh | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 3a5f8f56597..60afb708be4 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * dg-extract-results.sh: Redirect grep output to /dev/null instead + of grep -q. + 2010-04-22 Basile Starynkevitch <basile@starynkevitch.net> * gcc_update: Sets the locale to C. diff --git a/contrib/dg-extract-results.sh b/contrib/dg-extract-results.sh index 0ad85cb7aa2..be7d47b1ec5 100755 --- a/contrib/dg-extract-results.sh +++ b/contrib/dg-extract-results.sh @@ -224,7 +224,7 @@ else VARIANTS="" for VAR in $VARS do - grep -q "Running target $VAR" $SUM_FILES && VARIANTS="$VARIANTS $VAR" + grep "Running target $VAR" $SUM_FILES > /dev/null && VARIANTS="$VARIANTS $VAR" done fi @@ -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 -2 $FIRST_SUM | grep -q '^#' || tail -2 $FIRST_SUM +tail -2 $FIRST_SUM | grep '^#' > /dev/null || tail -2 $FIRST_SUM exit 0 |