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 791980 - Hardcoded path #!/usr/bin/python3 found in build-aux/post-install.py
Hardcoded path #!/usr/bin/python3 found in build-aux/post-install.py
Status: RESOLVED FIXED
Product: baobab
Classification: Core
Component: general
git master
Other FreeBSD
: Normal normal
: ---
Assigned To: Baobab Maintainers
Baobab Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-27 12:32 UTC by Ting-Wei Lan
Modified: 2018-01-03 06:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: fix the path to python3 for build-aux/post-install.py (625 bytes, patch)
2017-12-27 12:35 UTC, Ting-Wei Lan
none Details | Review
build: Use python3 found by meson to run build-aux/post-install.py (1.37 KB, patch)
2018-01-02 18:47 UTC, Ting-Wei Lan
committed Details | Review

Description Ting-Wei Lan 2017-12-27 12:32:19 UTC
Some systems don't install python in /usr/bin, so using the hardcoded /usr/bin/python3 path may cause 'no such file or directory' error when the script is run.
Comment 1 Ting-Wei Lan 2017-12-27 12:35:00 UTC
Created attachment 366011 [details] [review]
build: fix the path to python3 for build-aux/post-install.py
Comment 2 Ting-Wei Lan 2018-01-02 18:47:55 UTC
Created attachment 366215 [details] [review]
build: Use python3 found by meson to run build-aux/post-install.py
Comment 3 Paolo Borelli 2018-01-02 20:16:15 UTC
Review of attachment 366215 [details] [review]:

Thanks
Comment 4 Ting-Wei Lan 2018-01-03 06:57:06 UTC
Attachment 366215 [details] pushed as db68f3a - build: Use python3 found by meson to run build-aux/post-install.py