/usr/bin/pastebinit has bogus #! line
Bug #988468 reported by
Barry Warsaw
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pastebinit |
Fix Released
|
Undecided
|
Stéphane Graber | ||
pastebinit (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
% head -n 1 /usr/bin/pastebinit
#!/usr/bin/env python
While it's fine, preferable even, for the development version of pastebinit to have a #! line of /usr/bin/env python, it is just asking for breakage for the deployed production version to use this. Instead, when deployed, the line should be #!/usr/bin/python
Changed in pastebinit (Ubuntu): | |
assignee: | nobody → Stéphane Graber (stgraber) |
Changed in pastebinit: | |
assignee: | nobody → Stéphane Graber (stgraber) |
Changed in pastebinit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Adding a task against the project just so we keep a record of it.
Marking as Won't fix.
Talking to Barry on IRC, the consensus is that "/usr/bin/env python" is fine for the upstream code but "/usr/bin/python" should be used for the package script, having at least Debian/Ubuntu carry a distro patch for this.
I'll let Rolf decide whether or not he wants to do that. /bugs.launchpad .net/ubuntu/ +source/ gtk+2.0/ +bug/988391/ comments/ 1 contains some more details about this.
https:/