Skip to content

Commit

Permalink
make: Avoid a grep
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Apr 23, 2016
1 parent e236020 commit 47c5c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/make
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ _make()
mode=-d # display-only mode
fi

local reset=$( set +o | command grep -F posix ); set +o posix # <(...)
local reset=$( shopt -po posix ); set +o posix # <(...)
COMPREPLY=( $( LC_ALL=C \
make -npq __BASH_MAKE_COMPLETION__=1 \
"${makef[@]}" "${makef_dir[@]}" .DEFAULT 2>/dev/null | \
Expand Down

0 comments on commit 47c5c97

Please sign in to comment.