Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Add -qs to grep call in conditional to silence it #28

Merged
merged 1 commit into from May 24, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docbrowser/monodoc.in
Expand Up @@ -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`
Expand Down