libinput/kill-env.diff

52 lines
2.0 KiB
Diff
Raw Normal View History

From: Jan Engelhardt <jengelh@inai.de>
Date: 2017-11-28 11:01:12.978019538 +0100
Kill /usr/bin/env. We can't have random python interpreters be executed.
---
tools/libinput-measure-touch-size | 2 +-
tools/libinput-measure-touchpad-pressure | 2 +-
tools/libinput-measure-trackpoint-range | 2 +-
udev/parse_hwdb.py | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
Index: libinput-1.9.3/tools/libinput-measure-touch-size
===================================================================
--- libinput-1.9.3.orig/tools/libinput-measure-touch-size
+++ libinput-1.9.3/tools/libinput-measure-touch-size
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# vim: set expandtab shiftwidth=4:
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
Index: libinput-1.9.3/tools/libinput-measure-touchpad-pressure
===================================================================
--- libinput-1.9.3.orig/tools/libinput-measure-touchpad-pressure
+++ libinput-1.9.3/tools/libinput-measure-touchpad-pressure
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# vim: set expandtab shiftwidth=4:
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
Index: libinput-1.9.3/tools/libinput-measure-trackpoint-range
===================================================================
--- libinput-1.9.3.orig/tools/libinput-measure-trackpoint-range
+++ libinput-1.9.3/tools/libinput-measure-trackpoint-range
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# vim: set expandtab shiftwidth=4:
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
Index: libinput-1.9.3/udev/parse_hwdb.py
===================================================================
--- libinput-1.9.3.orig/udev/parse_hwdb.py
+++ libinput-1.9.3/udev/parse_hwdb.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# vim: set expandtab shiftwidth=4:
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#