Code

Opened 7 years ago

Closed 7 years ago

#3641 closed (duplicate)

django_bash_completion rev 4646 errors on OS X

Reported by: anonymous Owned by: jacob
Component: Tools Version: master
Severity: Keywords: django_bash_completion OS X
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

OS X has a whereis command, but it does not support the -b flag. Because of this, the following error occurs when sourcing it:

whereis: illegal option -- b
usage: whereis program [...]
complete: usage: complete [-abcdefgjksuv] [-pr] [-o option] [-A action] [-G globpat] [-W wordlist] [-P prefix] [-S suffix] [-X filterpat] [-F function] [-C command] [name ...]

I'm attaching a patch that solves this issue.

Thanks!

Attachments (1)

django_bash_completion.diff (769 bytes) - added by roberto.c.aguilar _at_ gmail _dot_ com 7 years ago.
patch to fix whereis error on OS X

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by roberto.c.aguilar _at_ gmail _dot_ com

patch to fix whereis error on OS X

comment:1 Changed 7 years ago by Simon G. <dev@…>

  • Component changed from Uncategorized to Tools
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

Hi Roberto, this should be already fixed in [4677]

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.