summaryrefslogtreecommitdiff
path: root/debian/patches/0007-avoid-usr-bin-env.patch
blob: 132ed7aad9d080cdc4098c61e4d56e6f6abadda9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Benjamin Barenblat <bbaren@debian.org>
Subject: Avoid invoking /usr/bin/env
Forwarded: not-needed

Per Debian Python policy [1], use `/usr/bin/python3` rather than
`/usr/bin/env python` to refer to the system Python (3) interpreter.

[1] https://www.debian.org/doc/packaging-manuals/python-policy/python.html#interpreter_loc
--- a/tools/make-both-single-timing-files.py
+++ b/tools/make-both-single-timing-files.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 import sys
 from TimeFileMaker import *
 
--- a/tools/make-both-time-files.py
+++ b/tools/make-both-time-files.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 import sys
 from TimeFileMaker import *
 
--- a/tools/make-one-time-file.py
+++ b/tools/make-one-time-file.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 import sys
 from TimeFileMaker import *