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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
|
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
---
packaging/cull-options | 2 +-
rsync-ssl | 2 +-
support/atomic-rsync | 2 +-
support/cvs2includes | 2 +-
support/file-attr-restore | 2 +-
support/files-to-excludes | 2 +-
support/git-set-file-times | 2 +-
support/logfilter | 2 +-
support/lsh | 2 +-
support/mnt-excl | 2 +-
support/munge-symlinks | 2 +-
support/rrsync | 2 +-
support/rsync-no-vanished | 2 +-
support/rsyncstats | 2 +-
14 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/packaging/cull-options b/packaging/cull-options
index e71818c..0bdf78e 100755
--- a/packaging/cull-options
+++ b/packaging/cull-options
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# This script outputs either perl or python code that parses all possible options
# that the code in options.c might send to the server. The resulting code is then
# included in the rrsync script.
diff --git a/rsync-ssl b/rsync-ssl
index 56ee7df..d76f0ab 100755
--- a/rsync-ssl
+++ b/rsync-ssl
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
# This script uses openssl, gnutls, or stunnel to secure an rsync daemon connection.
diff --git a/support/atomic-rsync b/support/atomic-rsync
index 1964090..0313811 100755
--- a/support/atomic-rsync
+++ b/support/atomic-rsync
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# This script lets you update a hierarchy of files in an atomic way by
# first creating a new hierarchy using rsync's --link-dest option, and
# then swapping the hierarchy into place. **See the usage message for
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/git-set-file-times b/support/git-set-file-times
index e06f073..56d4ba0 100755
--- a/support/git-set-file-times
+++ b/support/git-set-file-times
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import os, re, argparse, subprocess
from datetime import datetime
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/munge-symlinks b/support/munge-symlinks
index e7a5474..cfb0c40 100755
--- a/support/munge-symlinks
+++ b/support/munge-symlinks
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# This script will either prefix all symlink values with the string
# "/rsyncd-munged/" or remove that prefix.
diff --git a/support/rrsync b/support/rrsync
index e8b0cc0..d3ccd48 100755
--- a/support/rrsync
+++ b/support/rrsync
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# Restricts rsync to subdirectory declared in .ssh/authorized_keys. See
# the rrsync man page for details of how to make use of this script.
diff --git a/support/rsync-no-vanished b/support/rsync-no-vanished
index b31a5d2..c85d488 100755
--- a/support/rsync-no-vanished
+++ b/support/rsync-no-vanished
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
REAL_RSYNC=/usr/bin/rsync
IGNOREEXIT=24
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
|