Don't use grep -q.

This commit is contained in:
Daniel Nichter
2012-01-24 12:15:29 -07:00
parent c965d7c172
commit 36c14f492a
2 changed files with 2 additions and 2 deletions

View File

@@ -301,7 +301,7 @@ _parse_command_line() {
real_opt="$opt"
if $(echo $opt | grep -q '^--no-'); then
if $(echo $opt | grep '^--no-' >/dev/null); then
opt_is_negated=1
opt=$(echo $opt | sed 's/^--no-//')
else