afbaa2
From fc754728272e776b48b3a432ada9954335b783b6 Mon Sep 17 00:00:00 2001
afbaa2
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
afbaa2
Date: Fri, 13 Mar 2020 13:41:17 +0100
afbaa2
Subject: [PATCH] Remove a useless shebang from DBD::mysql
afbaa2
MIME-Version: 1.0
afbaa2
Content-Type: text/plain; charset=UTF-8
afbaa2
Content-Transfer-Encoding: 8bit
afbaa2
afbaa2
Shebang has only a meaning for an executable script. DBD::mysql Perl
afbaa2
module is not an executable script that someone would run as an
afbaa2
standalone program. Morover, the file would have to have set an
afbaa2
executable bit. It seems the erroneous shebang was added by a mistake
afbaa2
when removing an Emacs configuration line.
afbaa2
afbaa2
This patch removes the shebang.
afbaa2
afbaa2
Signed-off-by: Petr Písař <ppisar@redhat.com>
afbaa2
---
afbaa2
 lib/DBD/mysql.pm | 2 --
afbaa2
 1 file changed, 2 deletions(-)
afbaa2
afbaa2
diff --git a/lib/DBD/mysql.pm b/lib/DBD/mysql.pm
afbaa2
index 2277fbe..5c90f3e 100644
afbaa2
--- a/lib/DBD/mysql.pm
afbaa2
+++ b/lib/DBD/mysql.pm
afbaa2
@@ -1,5 +1,3 @@
afbaa2
-#!/usr/bin/perl
afbaa2
-
afbaa2
 use strict;
afbaa2
 use warnings;
afbaa2
 require 5.008_001; # just as DBI
afbaa2
-- 
afbaa2
2.21.1
afbaa2