Skip to content

Commit

Permalink
Fixed #25222 -- Avoided installing django_bash_completion for python*…
Browse files Browse the repository at this point in the history
…-config.
  • Loading branch information
scop authored and timgraham committed Aug 4, 2015
1 parent 74be214 commit 3405773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/django_bash_completion
Expand Up @@ -61,7 +61,7 @@ unset pythons
if command -v whereis &>/dev/null; then
python_interpreters=$(whereis python | cut -d " " -f 2-)
for python in $python_interpreters; do
pythons="${pythons} ${python##*/}"
[[ $python != *-config ]] && pythons="${pythons} ${python##*/}"
done
unset python_interpreters
pythons=$(echo $pythons | tr " " "\n" | sort -u | tr "\n" " ")
Expand Down

0 comments on commit 3405773

Please sign in to comment.