summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-09-06 17:32:15 -0400
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-09-06 20:09:48 -0500
commitba75626b22c15785a418bd7645a508a2d99b12e4 (patch)
treeffed8e750f69852421fc49561cdd12c8ef5bbaad /configure.in
parentdfa4249d809454e6bc5b4af77a4e08d3a489178e (diff)
silence the hamcrest check
Diffstat (limited to 'configure.in')
-rwxr-xr-xconfigure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 638a9bb87030..e992ef8c6343 100755
--- a/configure.in
+++ b/configure.in
@@ -8861,7 +8861,7 @@ if test "$SOLAR_JAVA" != "" && test "$with_junit" != "no"; then
if test $? -eq 0; then
# check if either class-path entry is available for hamcrest or
# it's bundled
- if "$JAVA_HOME/bin/jar" tf "$OOO_JUNIT_JAR" |grep hamcrest || \
+ if "$JAVA_HOME/bin/jar" tf "$OOO_JUNIT_JAR" |grep -q hamcrest || \
"$UNZIP" -c "$OOO_JUNIT_JAR" META-INF/MANIFEST.MF |grep -q 'Class-Path: hamcrest'; then
AC_MSG_RESULT([$OOO_JUNIT_JAR])
else