8000 check if command is executable (not only if exists) · symfony/symfony@92d7906 · GitHub
[go: up one dir, main page]

Skip to content

Commit 92d7906

Browse files
committed
check if command is executable (not only if exists)
1 parent 38ccc81 commit 92d7906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Resources/completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ _sf_{{ COMMAND_NAME }}() {
1717
sf_cmd=$(type -p $sf_cmd)
1818
fi
1919

20-
if [ ! -f "$sf_cmd" ]; then
20+
if [ ! -x "$sf_cmd" ]; then< 461A /div>
2121
return 1
2222
fi
2323

0 commit comments

Comments
 (0)
0