Subject: | Unify shebangs in examples |
All the example scripts but one use /usr/bin/perl. It would be great to correct the one as shown it the attached patch.
Subject: | 0001-Unify-examples-shebang.patch |
From 7ac3f9eec1d7a16557c0356c2239044da613c8b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Wed, 13 Mar 2019 14:10:20 +0100
Subject: [PATCH] Unify examples shebang
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
All the other tests uses an absolute path. Use it for this one example
too.
Signed-off-by: Petr PÃsaÅ <ppisar@redhat.com>
---
examples/test_list.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/test_list.pl b/examples/test_list.pl
index dda426c..fb017d4 100644
--- a/examples/test_list.pl
+++ b/examples/test_list.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
# when run, it will show all definitions.
use warnings;
use strict;
--
2.20.1