File: shebang.patch

package info (click to toggle)
libfilter-perl 1.65-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 668 kB
  • sloc: perl: 963; makefile: 10
file content (44 lines) | stat: -rw-r--r-- 1,126 bytes parent folder | download
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
From 8e95777c40ceb67754067190f9ee2205170cb422 Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@debian.org>
Date: Wed, 15 Jan 2014 16:19:48 +0000
Subject: Apply #!/usr/bin/perl to all installed Perl scripts

Forwarded: no
Last-Update: 2010-05-26

Patch-Name: shebang.patch
---
 decrypt/decr    | 2 +-
 decrypt/encrypt | 2 +-
 examples/filtuu | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/decrypt/decr b/decrypt/decr
index 357e27c..753139c 100644
--- a/decrypt/decr
+++ b/decrypt/decr
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
 
 # This script will decrypt a Perl script that has been encrypted using the
 # "encrypt" script. It cannot decrypt any other kind of encrypted Perl script.
diff --git a/decrypt/encrypt b/decrypt/encrypt
index 6438a43..eabf255 100755
--- a/decrypt/encrypt
+++ b/decrypt/encrypt
@@ -1,4 +1,4 @@
-#!perl
+#!/usr/bin/perl
 require 5.002 ;
 
 use strict;
diff --git a/examples/filtuu b/examples/filtuu
index e16ab39..dfebfc5 100755
--- a/examples/filtuu
+++ b/examples/filtuu
@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 
 print "use Filter::UUdecode ;\n" ;
 while (<>) {