[PATCH libinput 2/2] udev/hwdb_parser.py: use python3 from env instead of /usr/bin

Gabriel Laskar gabriel at lse.epita.fr
Sun May 14 14:33:17 UTC 2017


python installation does not always lives in /usr/bin, this allows to
use virtualenv for example.

Signed-off-by: Gabriel Laskar <gabriel at lse.epita.fr>
---
 udev/parse_hwdb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/udev/parse_hwdb.py b/udev/parse_hwdb.py
index 97f04f4..b4f0b1b 100755
--- a/udev/parse_hwdb.py
+++ b/udev/parse_hwdb.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # vim: set expandtab shiftwidth=4:
 # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 #
-- 
2.12.2



More information about the wayland-devel mailing list