[folks/wip/nielsdg/python2: 2/2] tests/tools/manager-file: Don't hardcode python2 path
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks/wip/nielsdg/python2: 2/2] tests/tools/manager-file: Don't hardcode python2 path
- Date: Wed, 1 May 2019 20:07:34 +0000 (UTC)
commit 4353329caa5b0958f5436af133985ed4d73013a4
Author: Niels De Graef <nielsdegraef gmail com>
Date: Wed May 1 22:05:02 2019 +0200
tests/tools/manager-file: Don't hardcode python2 path
This gives issues for people that don't have their python2 binary at
`/usr/bin/python2`. The cleanest way to solve this is to just use
`/usr/bin/env python2`
Fixes https://gitlab.gnome.org/GNOME/folks/issues/107
tests/tools/manager-file.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/tools/manager-file.py b/tests/tools/manager-file.py
index c489c214..94334410 100755
--- a/tests/tools/manager-file.py
+++ b/tests/tools/manager-file.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/env python2
# manager-file.py: generate .manager files and TpCMParamSpec arrays from the
# same data (should be suitable for all connection managers that don't have
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]