[gnome-sound-recorder/wip/lantw/build-dont-hard-code-the-path-of-python3] build: Don't hard-code the path of python3
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder/wip/lantw/build-dont-hard-code-the-path-of-python3] build: Don't hard-code the path of python3
- Date: Tue, 9 Jul 2019 15:43:41 +0000 (UTC)
commit f1ae7262175da24f79c7e483465ca379e32254ca
Author: Ting-Wei Lan <lantw src gnome org>
Date: Tue Jul 9 23:39:38 2019 +0800
build: Don't hard-code the path of python3
Instead of hard-coding the path of python3, which may fail on systems
deciding to install python3 in a different location, use the common env
trick to find it via PATH.
build-aux/meson_post_install.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/build-aux/meson_post_install.py b/build-aux/meson_post_install.py
index 7555f69..6c4855b 100755
--- a/build-aux/meson_post_install.py
+++ b/build-aux/meson_post_install.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
import os
import subprocess
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]