From a89b51b033737173b771a43eac18d4d83b799104 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Thu, 8 Mar 2007 03:34:05 +0000 Subject: [PATCH] Fixed #1240 -- Fixed portability problem in bash completion script. Thanks, Paolo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4677 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- extras/django_bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/django_bash_completion b/extras/django_bash_completion index bd066ec08f..64d8961ca7 100644 --- a/extras/django_bash_completion +++ b/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