summaryrefslogtreecommitdiffstats
path: root/0004-don-t-use-usr-bin-env-in-shebang.patch
blob: 5a949c5163852a67d517ca0a6956f7126c9cdb42 (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
From 6d28b9227823b0a6ee9650a97ea406cf4ef8160e Mon Sep 17 00:00:00 2001
From: Peter Schiffer <pschiffe@redhat.com>
Date: Tue, 23 Jul 2013 14:09:50 +0200
Subject: [PATCH] don't use /usr/bin/env in shebang

There might be an issue that the script is executed with unwanted version of
<lang> if that language is provided by enabled dynamic software collection.

Resolves: #987069
---
 contrib/chem/chem.pl            | 2 +-
 contrib/groffer/perl/groffer.pl | 2 +-
 contrib/groffer/perl/roff2.pl   | 2 +-
 src/roff/grog/grog.pl           | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/contrib/chem/chem.pl b/contrib/chem/chem.pl
index dacf8b4..932606a 100755
--- a/contrib/chem/chem.pl
+++ b/contrib/chem/chem.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#! /usr/bin/perl
 
 # chem - a groff preprocessor for producing chemical structure diagrams
 
diff --git a/contrib/groffer/perl/groffer.pl b/contrib/groffer/perl/groffer.pl
index f56fbfc..d0352d0 100755
--- a/contrib/groffer/perl/groffer.pl
+++ b/contrib/groffer/perl/groffer.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#! /usr/bin/perl
 
 # groffer - display groff files
 
diff --git a/contrib/groffer/perl/roff2.pl b/contrib/groffer/perl/roff2.pl
index cf95f95..9ba6860 100755
--- a/contrib/groffer/perl/roff2.pl
+++ b/contrib/groffer/perl/roff2.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#! /usr/bin/perl
 
 # roff2* - transform roff files into other formats
 
diff --git a/src/roff/grog/grog.pl b/src/roff/grog/grog.pl
index 3f33d86..77adf78 100644
--- a/src/roff/grog/grog.pl
+++ b/src/roff/grog/grog.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#! /usr/bin/perl
 # grog - guess options for groff command
 # Inspired by doctype script in Kernighan & Pike, Unix Programming
 # Environment, pp 306-8.
-- 
1.7.11.7