summaryrefslogtreecommitdiffstats
path: root/debian/patches/env_shebang.patch
blob: e6a1f38c0609fabd25631bc6ddfb8576f4ac5b5a (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
From: Samuel Henrique <samueloph@debian.org>
Date: Fri, 12 Apr 2024 00:11:07 +0100
Subject: =?utf-8?q?Removes_usage_of_env_on_shebangs_as_per_Debian_Policy_?=
 =?utf-8?q?=C2=A7_10=2E4?=

Forwarded: not-needed

===================================================================
---
 support/cvs2includes      | 2 +-
 support/file-attr-restore | 2 +-
 support/files-to-excludes | 2 +-
 support/logfilter         | 2 +-
 support/lsh               | 2 +-
 support/mnt-excl          | 2 +-
 support/rsyncstats        | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/support/cvs2includes b/support/cvs2includes
index 4a0d1d8..62401cb 100755
--- a/support/cvs2includes
+++ b/support/cvs2includes
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 # This script finds all CVS/Entries files in the current directory and below
 # and creates a local .cvsinclude file with non-inherited rules including each
 # checked-in file.  Then, use this option whenever using --cvs-exclude (-C):
diff --git a/support/file-attr-restore b/support/file-attr-restore
index 2e4a21b..a053e1d 100755
--- a/support/file-attr-restore
+++ b/support/file-attr-restore
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
 # This script will parse the output of "find ARG [ARG...] -ls" and
 # apply (at your discretion) the permissions, owner, and group info
 # it reads onto any existing files and dirs (it doesn't try to affect
diff --git a/support/files-to-excludes b/support/files-to-excludes
index a47d7f8..bb5c3a8 100755
--- a/support/files-to-excludes
+++ b/support/files-to-excludes
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 # This script takes an input of filenames and outputs a set of include/exclude
 # directives that can be used by rsync to copy just the indicated files using
 # an --exclude-from=FILE or -f'. FILE' option. To be able to delete files on
diff --git a/support/logfilter b/support/logfilter
index 29cfe69..282914a 100755
--- a/support/logfilter
+++ b/support/logfilter
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
 # Filter the rsync daemon log messages by module name.  The log file can be
 # in either syslog format or rsync's own log-file format.  Note that the
 # MODULE_NAME parameter is used in a regular-expression match in order to
diff --git a/support/lsh b/support/lsh
index 7b3c065..228d760 100755
--- a/support/lsh
+++ b/support/lsh
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
 # This is a "local shell" command that works like a remote shell but only for
 # the local host.  See the usage message for more details.
 
diff --git a/support/mnt-excl b/support/mnt-excl
index bc8b5bc..8f5f9ef 100755
--- a/support/mnt-excl
+++ b/support/mnt-excl
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 # This script takes a command-line arg of a source directory
 # that will be passed to rsync, and generates a set of excludes
 # that will exclude all mount points from the list.  This is
diff --git a/support/rsyncstats b/support/rsyncstats
index 99fd545..ab7246d 100755
--- a/support/rsyncstats
+++ b/support/rsyncstats
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
 #
 # This script parses the default logfile format produced by rsync when running
 # as a daemon with transfer logging enabled.  It also parses a slightly tweaked