Permalink
Browse files

Merge pull request #28 from iainlane/master

Add -qs to grep call in conditional to silence it
  • Loading branch information...
2 parents 093483e + 7ac8897 commit a9d002840c3882863a94b36e30010d3bed0e1603 @migueldeicaza migueldeicaza committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docbrowser/monodoc.in
View
@@ -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`

0 comments on commit a9d0028

Please sign in to comment.