[Bash-completion-devel] [bash-completion-Bugs][311407] DBTS 501841: don't use uname for route, just check for its presence

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Tue Dec 20 21:15:20 UTC 2011


Bugs item #311407, was changed at 2009-01-30 12:18 by Igor Murzov
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311407&group_id=100114

Status: Closed
Priority: 2
Submitted By: David Paleino (hanska-guest)
Assigned to: Nobody (None)
Summary: DBTS 501841: don't use uname for route, just check for its presence 
Distribution: None
Originally reported in: Debian BTS
Milestone: 2.0
>Status: Invalid
Original bug number: 501841


Initial Comment:
* Completion for the commands [..]
  and route depends on a uname of Linux.  While these commands indeed
  do run only on Linux, it seems better to simply check for the
  commands in question rather than the kernel in use.  That way, if
  the commands ever run on non-Linux systems, bash-completion will not
  need updating.  For instance, other systems have a "route" command
  which behaves similarly, though I do not know if the existing
  completions will work unmodified on it.


----------------------------------------------------------------------

Comment By: Igor Murzov (garik-guest)
Date: 2011-12-20 20:20

Message:
Fixed in commit: http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commit;h=dab2f3c5519d01902e795e583b0546eb30bd04c7

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311407&group_id=100114



More information about the Bash-completion-devel mailing list