Skip to content

Commit

Permalink
Fixed django#1240 -- Fixed portability problem in bash completion scr…
Browse files Browse the repository at this point in the history
…ipt. Thanks,

Paolo.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Mar 8, 2007
1 parent 43809de commit a89b51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/django_bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a89b51b

Please sign in to comment.