perl-XML-LibXML-PrettyPrint/XML-LibXML-PrettyPrint-0.006-Normalize-shell-bang.patch

27 lines
657 B
Diff
Raw Normal View History

2020-08-10 14:46:39 +08:00
From 01a2555beff4303908b4f940a2054b1938b32fb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Wed, 12 Jul 2017 08:42:26 +0200
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/xml-pretty | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/xml-pretty b/bin/xml-pretty
index a9fd406..d647105 100644
--- a/bin/xml-pretty
+++ b/bin/xml-pretty
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!perl
use XML::LibXML::PrettyPrint qw(print_xml);
print_xml <>;
--
2.9.4