udev/hwdb_parser.py: use python3 from env instead of /usr/bin
authorGabriel Laskar <gabriel@lse.epita.fr>
Sun, 14 May 2017 14:33:17 +0000 (16:33 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 15 May 2017 00:22:09 +0000 (10:22 +1000)
python installation does not always lives in /usr/bin, this allows to
use virtualenv for example.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
udev/parse_hwdb.py

index 97f04f4f78b1456caf248ecfe7d677e6effb414f..b4f0b1bfeea349d2d35bb75eda251ca50b2cb107 100755 (executable)
@@ -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 -*- */
 #