diff options
| author | Martin Afanasjew | 2015-10-15 17:41:07 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2015-10-15 19:26:27 +0100 |
| commit | 21d804eeb8824e29a152388a7d1483d4dac45640 (patch) | |
| tree | 86c121cb85de2694634465f376c5765b9d5f3aea /Library/Homebrew/utils | |
| parent | b5ec74c3f6b32cdd25b8051c1b47b3594aa1fb90 (diff) | |
| download | brew-21d804eeb8824e29a152388a7d1483d4dac45640.tar.bz2 | |
commands: ensure external commands are executable
For consistency with `brew command` and the logic in `brew.sh` (both use
`which` to find/validate an external command), we need to filter files
that are not executable.
Otherwise `brew commands` and thus bash completion will offer commands
that will produce an error when attempting to use them.
Closes Homebrew/homebrew#44999.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/utils')
0 files changed, 0 insertions, 0 deletions
