Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #1240 -- Fixed portability problem in bash completion script. T…

…hanks,

Paolo.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a89b51b033737173b771a43eac18d4d83b799104 1 parent 43809de
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  extras/django_bash_completion
View
2  extras/django_bash_completion
@@ -147,7 +147,7 @@ complete -F _django_completion django-admin.py manage.py
# Support for multiple interpreters.
unset pythons
if command -v whereis &>/dev/null; then
- python_interpreters=$(whereis -b python | cut -d " " -f 2-)
+ python_interpreters=$(whereis python | cut -d " " -f 2-)
for python in $python_interpreters; do
pythons="${pythons} $(basename $python)"
done
Please sign in to comment.
Something went wrong with that request. Please try again.