Subject: | Normalize shell bang |
Extutils::MakeMaker automatically injects corrert shell bang when installing files if the original interpreter does not exist (#!perl is usually used.).
Attached patch applies this feature to bin/fribidi.pl as already used in misc/bidi.
Subject: | 0001-Normalize-shell-bang.patch |
From 2458725f824cc0b2d22d21b25f0e70ff72d91d13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Wed, 11 Nov 2015 13:06:46 +0100
Subject: [PATCH] Normalize shell bang
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr PÃsaÅ <ppisar@redhat.com>
---
bin/fribidi.pl | 2 +-
misc/bidi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/fribidi.pl b/bin/fribidi.pl
index fed32c8..12d3236 100755
--- a/bin/fribidi.pl
+++ b/bin/fribidi.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!perl
# PODNAME: fribidi.pl
# ABSTRACT: Convert logical text to visual, via the unicode bidi algorithm
diff --git a/misc/bidi b/misc/bidi
index b836c2b..90b4a6d 100755
--- a/misc/bidi
+++ b/misc/bidi
@@ -1,4 +1,4 @@
-#! perl
+#!perl
# Created: Tue 21 Aug 2012 12:49:09 PM IDT
# Last Changed: Sun 08 Nov 2015 12:56:24 AM IST
# Author: Moshe Kamensky <kamensky@cpan.org>
--
2.4.3