ubuntu-bug should fall back to using its argument as a command name ("ubuntu-bug ubuntu-bug" should work)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Invalid
|
Low
|
Marien Zwart |
Bug Description
Binary package hint: apport
ubuntu-bug understands package names and the full path to a program. If the argument I give it is neither but is the name of an executable on $PATH it should do what I mean and use that. It could optionally confirm that with me first ("Did you mean to file a bug on /usr/bin/
ProblemType: Bug
ApportLog:
Architecture: i386
Date: Sat Oct 10 05:21:33 2009
DistroRelease: Ubuntu 9.10
Package: apport 1.9.2-0ubuntu2
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apport
Uname: Linux 2.6.31-13-generic i686
XsessionErrors:
(gnome-
(gnome-
(nautilus:4343): Eel-CRITICAL **: eel_preferences
(polkit-
(gnome-
Related branches
- Martin Pitt: Disapprove
-
Diff: 51 lines (+27/-13)1 file modifiedapport/ui.py (+27/-13)
- Martin Pitt (community): Needs Fixing
-
Diff: 51 lines1 file modifiedapport/ui.py (+27/-13)
Changed in apport (Ubuntu): | |
assignee: | nobody → Marien Zwart (marienz) |
status: | New → Confirmed |
Changed in apport (Ubuntu): | |
importance: | Undecided → Low |
Changed in apport (Ubuntu): | |
status: | Confirmed → Triaged |
Instead of looking in the $PATH, a simple solution would be to execute `which $ARGV1` and see what that reports,