After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760430 - [PATCH] gupnp-binding-tool hardcodes #!/usr/bin/python
[PATCH] gupnp-binding-tool hardcodes #!/usr/bin/python
Status: RESOLVED FIXED
Product: gupnp-tools
Classification: Other
Component: General
unspecified
Other FreeBSD
: Normal normal
: ---
Assigned To: GUPnP Maintainers
GUPnP Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-11 06:23 UTC by Ting-Wei Lan
Modified: 2019-02-22 05:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gupnp-binding-tool: Don't hardcode the path of python (662 bytes, patch)
2016-01-11 06:24 UTC, Ting-Wei Lan
committed Details | Review

Description Ting-Wei Lan 2016-01-11 06:23:38 UTC
Not all systems have python installed in /usr/bin. Using /usr/bin/env to find it is more portable.

This fixes 'no such file or directory' error when running gupnp-binding-tool:
gupnp-binding-tool: /usr/bin/python: bad interpreter: No such file or directory
Comment 1 Ting-Wei Lan 2016-01-11 06:24:07 UTC
Created attachment 318698 [details] [review]
gupnp-binding-tool: Don't hardcode the path of python
Comment 2 Jens Georg 2016-01-11 16:48:01 UTC
Review of attachment 318698 [details] [review]:

+1
Comment 3 Ting-Wei Lan 2016-01-13 10:01:06 UTC
Attachment 318698 [details] pushed as d2e336a - gupnp-binding-tool: Don't hardcode the path of python