Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #28 from iainlane/master

Add -qs to grep call in conditional to silence it
  • Loading branch information...
commit a9d002840c3882863a94b36e30010d3bed0e1603 2 parents 093483e + 7ac8897
@migueldeicaza migueldeicaza authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docbrowser/monodoc.in
View
2  docbrowser/monodoc.in
@@ -75,7 +75,7 @@ elif test x@MOZILLA_HOME@ != x; then
if [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
MOZILLA_HOME=@MOZILLA_HOME@
fi
-elif grep GRE_PATH /etc/gre.d/*.conf > /dev/null ; then
+elif grep -qs GRE_PATH /etc/gre.d/*.conf > /dev/null ; then
MOZILLA_HOME=$(grep -h GRE_PATH= /etc/gre.d/*.conf | cut -d '"' -f 2 -d = | head -n 1)
elif [ $(which xulrunner 2> /dev/null) ] > /dev/null ; then
MOZILLA_FIVE_HOME=`getdirectory xulrunner`
Please sign in to comment.
Something went wrong with that request. Please try again.