groff/0004-don-t-use-usr-bin-env-in-shebang.patch

60 lines
1.7 KiB
Diff
Raw Normal View History

2014-11-04 13:55:09 +00:00
From e263e19aa1c63dbcbe710e8aae79c8e298606e4c Mon Sep 17 00:00:00 2001
2013-07-23 14:20:42 +00:00
From: Peter Schiffer <pschiffe@redhat.com>
2014-11-04 13:55:09 +00:00
Date: Tue, 4 Nov 2014 14:49:57 +0100
2013-07-23 14:20:42 +00:00
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
---
2014-11-04 13:55:09 +00:00
contrib/chem/chem.pl | 2 +-
contrib/groffer/groffer.pl | 2 +-
contrib/groffer/roff2.pl | 2 +-
src/roff/grog/grog.pl | 2 +-
2013-07-23 14:20:42 +00:00
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/contrib/chem/chem.pl b/contrib/chem/chem.pl
2014-11-04 13:55:09 +00:00
index 1a8b3cc..15eda5f 100755
2013-07-23 14:20:42 +00:00
--- 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
2014-11-04 13:55:09 +00:00
diff --git a/contrib/groffer/groffer.pl b/contrib/groffer/groffer.pl
index 4e2e575..913e8eb 100755
--- a/contrib/groffer/groffer.pl
+++ b/contrib/groffer/groffer.pl
2013-07-23 14:20:42 +00:00
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#! /usr/bin/perl
# groffer - display groff files
2014-11-04 13:55:09 +00:00
diff --git a/contrib/groffer/roff2.pl b/contrib/groffer/roff2.pl
index f0ca9f2..1b8577f 100755
--- a/contrib/groffer/roff2.pl
+++ b/contrib/groffer/roff2.pl
2013-07-23 14:20:42 +00:00
@@ -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
2014-11-04 13:55:09 +00:00
index fb7b54c..9baa869 100644
2013-07-23 14:20:42 +00:00
--- 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.
--
2014-11-04 13:55:09 +00:00
1.9.3
2013-07-23 14:20:42 +00:00