[folks/wip/nielsdg/python2: 2/2] tests/tools/manager-file: Don't hardcode python2 path



commit a9b68bbe16e26bd80b5566ba72f094afc74204a5
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]